- fixed some issues realted to the usage of the new confirmation message in FlatCAM Tools
- made sure that the FlatCAM Tools UI initialization is done only in set_tool_ui() method and not in the constructor
This commit is contained in:
@@ -670,7 +670,14 @@ class FCSpinner(QtWidgets.QSpinBox):
|
||||
return QtGui.QValidator.Acceptable, p_str, p_int
|
||||
|
||||
def set_range(self, min_val, max_val):
|
||||
self.blockSignals(True)
|
||||
self.setRange(min_val, max_val)
|
||||
self.blockSignals(False)
|
||||
|
||||
def set_step(self, p_int):
|
||||
self.blockSignals(True)
|
||||
self.setSingleStep(p_int)
|
||||
self.blockSignals(False)
|
||||
|
||||
# def sizeHint(self):
|
||||
# default_hint_size = super(FCSpinner, self).sizeHint()
|
||||
|
||||
Reference in New Issue
Block a user