- in Fiducials Plugin updated the GUI to the new style

- Fiducials Plugin: replaced a Radio button with a Combobox2 and optimized the UI
- The Combobox2 GUI element no longer issue an exception if it is tried to set a string value, it will set automatically the index 0
This commit is contained in:
Marius Stanciu
2021-09-09 01:19:33 +03:00
committed by Marius
parent 0f318ef909
commit 6712b98a93
7 changed files with 194 additions and 148 deletions

View File

@@ -2352,7 +2352,10 @@ class FCComboBox2(FCComboBox):
return int(self.currentIndex())
def set_value(self, val):
self.setCurrentIndex(val)
try:
self.setCurrentIndex(val)
except TypeError:
self.setCurrentIndex(0)
class FCInputDialog(QtWidgets.QInputDialog):