- fixed the Copy Object function when the object is Gerber
- added the Copy entry to the Project context menu - made the functions behind Disable and Enable project context menu entries, non-threaded to fix a possible issue
This commit is contained in:
@@ -388,6 +388,7 @@ class ObjectCollection(QtCore.QAbstractItemModel):
|
||||
sel = len(self.view.selectedIndexes()) > 0
|
||||
self.app.ui.menuprojectenable.setEnabled(sel)
|
||||
self.app.ui.menuprojectdisable.setEnabled(sel)
|
||||
self.app.ui.menuprojectcopy.setEnabled(sel)
|
||||
self.app.ui.menuprojectdelete.setEnabled(sel)
|
||||
|
||||
if sel:
|
||||
|
||||
Reference in New Issue
Block a user