- finished the update on French Google translation.

This commit is contained in:
Marius Stanciu
2019-10-19 04:45:17 +03:00
committed by Marius
parent 1af594403e
commit 46659af432
5 changed files with 3557 additions and 3647 deletions

View File

@@ -3233,6 +3233,9 @@ class App(QtCore.QObject):
"""
self.report_usage("object2editor()")
# disable the objects menu as it may interfere with the Editors
self.ui.menuobjects.setDisabled(True)
edited_object = self.collection.get_active()
if isinstance(edited_object, FlatCAMGerber) or isinstance(edited_object, FlatCAMGeometry) or \
@@ -3321,6 +3324,9 @@ class App(QtCore.QObject):
"""
self.report_usage("editor2object()")
# re-enable the objects menu that was disabled on entry in Editor mode
self.ui.menuobjects.setDisabled(False)
# do not update a geometry or excellon object unless it comes out of an editor
if self.call_source != 'app':
edited_obj = self.collection.get_active()