Skip to content

Commit

Permalink
fixes to the Cup Profile Widget signaling resolving Issue #403
Browse files Browse the repository at this point in the history
  • Loading branch information
MAKOMO committed Oct 13, 2019
1 parent 7806ced commit cd0a22e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/artisanlib/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -39455,7 +39455,7 @@ def __init__(self, parent = None):
aw.qmc.flavorchart()
self.dialogbuttons.button(QDialogButtonBox.Ok).setFocus()

@pyqtSlot(int)
@pyqtSlot(float)
def setaspect(self,_):
aw.qmc.flavoraspect = self.aspectSpinBox.value()
aw.qmc.flavorchart()
Expand Down Expand Up @@ -39545,15 +39545,15 @@ def savetable(self):

@pyqtSlot()
def setlabel(self):
x = aw.findWidgetsRow(self.eventbuttontable,self.sender(),0)
x = aw.findWidgetsRow(self.flavortable,self.sender(),0)
if x is not None:
labeledit = self.flavortable.cellWidget(x,0)
aw.qmc.flavorlabels[x] = labeledit.text()
aw.qmc.flavorchart()

@pyqtSlot(int)
@pyqtSlot(float)
def setvalue(self,_):
x = aw.findWidgetsRow(self.eventbuttontable,self.sender(),1)
x = aw.findWidgetsRow(self.flavortable,self.sender(),1)
if x is not None:
valueSpinBox = self.flavortable.cellWidget(x,1)
aw.qmc.flavors[x] = valueSpinBox.value()
Expand Down

0 comments on commit cd0a22e

Please sign in to comment.