- added the Preferences for Check Rules Tool and for Optimal Tool and also updated the Film Tool to use the default settings in Preferences

This commit is contained in:
Marius Stanciu
2019-10-14 02:19:48 +03:00
committed by Marius
parent b00c1018e4
commit 86d5d93495
6 changed files with 468 additions and 93 deletions

View File

@@ -270,7 +270,7 @@ class ToolOptimal(FlatCAMTool):
self.app.ui.notebook.setTabText(2, _("Optimal Tool"))
def set_tool_ui(self):
self.precision_spinner.set_value(int(self.decimals))
self.precision_spinner.set_value(int(self.app.defaults["tools_opt_precision"]))
self.locations_textb.clear()
# new cursor - select all document
cursor = self.locations_textb.textCursor()