- fixed an issue in Isolation Tool when running the app in Basic mode;
- fixed Paint, Isolation and NCC Tools such the translated comboboxes values are now stored as indexes instead of translated words as before - in Geometry Object made sure that the widgets in the Tool Table gets populated regardless of encountering non-recognizable translated values - in Paint Tool found a small bug and fixed it
This commit is contained in:
@@ -2160,6 +2160,17 @@ class FCComboBox(QtWidgets.QComboBox):
|
||||
self.setCurrentIndex(first)
|
||||
|
||||
|
||||
class FCComboBox2(FCComboBox):
|
||||
def __init__(self, parent=None, callback=None):
|
||||
super(FCComboBox2, self).__init__(parent=parent, callback=callback)
|
||||
|
||||
def get_value(self):
|
||||
return int(self.currentIndex())
|
||||
|
||||
def set_value(self, val):
|
||||
self.setCurrentIndex(val)
|
||||
|
||||
|
||||
class FCInputDialog(QtWidgets.QInputDialog):
|
||||
def __init__(self, parent=None, ok=False, val=None, title=None, text=None, min=None, max=None, decimals=None,
|
||||
init_val=None):
|
||||
|
||||
Reference in New Issue
Block a user