- in all Editors, manually deactivating a button in the editor toolbar will automatically select the 'Select' button

- fixed Excellon Editor selection: when a tool is selected in Tools Table, all the drills belonging to that tool are selected. When a drill is selected on canvas, the associated tool will be selected without automatically selecting all other drills with same tool
This commit is contained in:
Marius Stanciu
2019-04-11 20:32:40 +03:00
parent b3aeb497ec
commit 036e886af4
5 changed files with 88 additions and 60 deletions

View File

@@ -3110,7 +3110,9 @@ class FlatCAMGeoEditor(QtCore.QObject):
self.app.log.debug("%s is NOT checked." % tool)
for t in self.tools:
self.tools[t]["button"].setChecked(False)
self.active_tool = None
self.select_tool('select')
self.active_tool = FCSelect(self)
def draw_tool_path(self):
self.select_tool('path')