Browse Source

Fix parameter combo-box change

tags/1.9.4
falkTX 12 years ago
parent
commit
b0a1362c82
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      source/widgets/paramspinbox.py

+ 1
- 1
source/widgets/paramspinbox.py View File

@@ -422,6 +422,6 @@ class ParamSpinBox(QAbstractSpinBox):
value = self._getNearestScalePoint(value)

for i in range(self.fBox.count()):
if float(self.fBox.itemText(i).split(" - ", 1)[0] == value):
if float(self.fBox.itemText(i).split(" - ", 1)[0]) == value:
self.fBox.setCurrentIndex(i)
break

Loading…
Cancel
Save