- some init jobs in Editors

This commit is contained in:
Marius Stanciu
2019-04-10 04:49:33 +03:00
parent 58abfcb7f7
commit ce9e5a4546
3 changed files with 25 additions and 3 deletions

View File

@@ -2833,6 +2833,12 @@ class FlatCAMGeoEditor(QtCore.QObject):
def activate(self):
self.connect_canvas_event_handlers()
# initialize working objects
self.storage = FlatCAMGeoEditor.make_storage()
self.utility = []
self.selected = []
self.shapes.enabled = True
self.tool_shape.enabled = True
self.app.app_cursor.enabled = True