- 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:
Marius Stanciu
2020-02-17 14:27:45 +02:00
parent ae22ddb516
commit 7292a30b9e
12 changed files with 55 additions and 50 deletions

View File

@@ -105,7 +105,7 @@ class ToolCalculator(FlatCAMTool):
self.tipAngle_label = QtWidgets.QLabel('%s:' % _("Tip Angle"))
self.tipAngle_entry = FCSpinner(callback=self.confirmation_message_int)
self.tipAngle_entry.set_range(0,180)
self.tipAngle_entry.setSingleStep(5)
self.tipAngle_entry.set_step(5)
# self.tipAngle_entry.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignVCenter)
self.tipAngle_label.setToolTip(_("This is the angle of the tip of the tool.\n"