- added the 'Save' menu entry to the Project context menu, for CNCJob: it will export the GCode.

This commit is contained in:
Marius Stanciu
2019-02-16 03:01:54 +02:00
committed by Marius S
parent 31f36fd01e
commit 3293223991
3 changed files with 8 additions and 1 deletions

View File

@@ -520,7 +520,8 @@ class ObjectCollection(QtCore.QAbstractItemModel):
self.app.ui.menuprojectgeneratecnc.setVisible(False)
if type(obj) != FlatCAMGeometry and type(obj) != FlatCAMExcellon:
self.app.ui.menuprojectedit.setVisible(False)
self.app.ui.menuprojectsavet.setVisible(False)
if type(obj) != FlatCAMGeometry and type(obj) != FlatCAMExcellon and type(obj) != FlatCAMCNCjob:
self.app.ui.menuprojectsave.setVisible(False)
else:
self.app.ui.menuprojectgeneratecnc.setVisible(False)