- 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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user