- fixed an issue that made the preprocessors comboxes in Preferences not to load and display the saved value fro the file

- some PEP8 corrections
This commit is contained in:
Marius Stanciu
2020-05-05 01:39:01 +03:00
committed by Marius
parent 33f4b42ea3
commit ed105eecad
5 changed files with 129 additions and 110 deletions

View File

@@ -1337,7 +1337,8 @@ class FCComboBox(QtWidgets.QComboBox):
return str(self.currentText())
def set_value(self, val):
self.setCurrentIndex(self.findText(str(val)))
idx = self.findText(str(val))
self.setCurrentIndex(idx)
@property
def is_last(self):