Split graph frame into multiple files

This commit is contained in:
DarkPhoenix
2019-06-14 13:17:11 +03:00
parent 3c0b8643f6
commit bbcc32c8cf
8 changed files with 439 additions and 320 deletions

View File

@@ -102,7 +102,7 @@ class MainMenuBar(wx.MenuBar):
graphFrameItem = wx.MenuItem(fitMenu, self.graphFrameId, "&Graphs\tCTRL+G")
graphFrameItem.SetBitmap(BitmapLoader.getBitmap("graphs_small", "gui"))
fitMenu.Append(graphFrameItem)
if not gui.graphFrame.graphFrame_enabled:
if not gui.graphFrame.frame.graphFrame_enabled:
self.Enable(self.graphFrameId, False)
self.ignoreRestrictionItem = fitMenu.Append(self.toggleIgnoreRestrictionID, "Disable Fitting Re&strictions")