Fix issue in which "Open Fit" was showing on the command view, not the command fit, potentially causing an error

This commit is contained in:
blitzmann
2017-05-08 22:29:50 -04:00
parent ccfd414cb3
commit 4f1e7697ed

View File

@@ -15,7 +15,7 @@ class OpenFit(ContextMenu):
if not self.settings.get('openFit'):
return False
return srcContext in ("projectedFit", "commandView")
return srcContext in ("projectedFit", "commandFit")
def getText(self, itmContext, selection):
return "Open Fit in New Tab"