- fix for issue #262: when doing Edit-> Save & Close Editor on a Geometry that is not generated through first entering into an Editor, the geometry disappear

This commit is contained in:
Marius Stanciu 2019-03-08 16:28:55 +02:00
parent 6ba037fd83
commit 4422aee5df
2 changed files with 45 additions and 42 deletions

View File

@ -1918,6 +1918,8 @@ class App(QtCore.QObject):
"""
self.report_usage("editor2object()")
# do not update a geometry or excellon object unless it comes out of an editor
if self.call_source != 'app':
# adjust the visibility of some of the canvas context menu
self.ui.popmenu_edit.setVisible(True)
self.ui.popmenu_save.setVisible(False)

View File

@ -13,6 +13,7 @@ CAD program, and create G-Code for Isolation routing.
- fixed issue when doing th CTRL (or SHIFT) + LMB, the focus is automatically moved to Project Tab
- further work in internationalization, added a fallback to English language in case there is no translation for a string
- fix for issue #262: when doing Edit-> Save & Close Editor on a Geometry that is not generated through first entering into an Editor, the geometry disappear
-
7.03.2019