- wip in Gerber editor

This commit is contained in:
Marius Stanciu
2019-04-01 02:54:34 +03:00
parent b202de338f
commit 40c8ef1cf8
3 changed files with 25 additions and 24 deletions

View File

@@ -2100,8 +2100,8 @@ class App(QtCore.QObject):
elif isinstance(edited_object, FlatCAMGerber):
# store the Gerber Editor Toolbar visibility before entering in the Editor
self.grbeditor.toolbar_old_state = True if self.ui.grb_edit_toolbar.isVisible() else False
self.grbeditor.edit_fcgerber(edited_object)
self.grb_editor.toolbar_old_state = True if self.ui.grb_edit_toolbar.isVisible() else False
self.grb_editor.edit_fcgerber(edited_object)
# set call source to the Editor we go into
self.call_source = 'grb_editor'