- Isolation Tool: updated the tools dict with the common parameters value on isolating

- Fixed a recent change that made the edited Geometry objects in the Geometry Editor not to be plotted after saving changes
This commit is contained in:
Marius Stanciu
2020-05-30 14:33:02 +03:00
committed by Marius
parent 0d57852ec5
commit 9eea4f6333
3 changed files with 60 additions and 74 deletions

View File

@@ -2249,6 +2249,7 @@ class App(QtCore.QObject):
log.debug("App.editor2object() --> Geometry --> %s" % str(e))
edited_obj.build_ui()
edited_obj.plot()
self.inform.emit('[success] %s' % _("Editor exited. Editor content saved."))
elif isinstance(edited_obj, GerberObject):
@@ -2305,6 +2306,7 @@ class App(QtCore.QObject):
if isinstance(edited_obj, GeometryObject):
self.geo_editor.deactivate()
edited_obj.build_ui()
edited_obj.plot()
elif isinstance(edited_obj, GerberObject):
self.grb_editor.deactivate_grb_editor()
edited_obj.build_ui()