Add option to disable this context menu

This commit is contained in:
DarkPhoenix
2019-03-18 18:21:53 +03:00
parent 51180a9375
commit 33b91a79ab
3 changed files with 22 additions and 15 deletions

View File

@@ -17,7 +17,7 @@ class SpoolUp(ContextMenu):
self.resetId = None
def display(self, srcContext, selection):
if not self.settings.get('project'):
if not self.settings.get('spoolup'):
return False
if srcContext not in ("fittingModule") or self.mainFrame.getActiveFit() is None: