Allow to close all tabs with one action

This commit is contained in:
DarkPhoenix
2019-04-21 00:12:12 +03:00
parent 4c736de598
commit 1064a90a1c
3 changed files with 12 additions and 1 deletions

View File

@@ -73,6 +73,7 @@ class MainMenuBar(wx.MenuBar):
fileMenu.Append(self.mainFrame.addPageId, "&New Tab\tCTRL+T", "Open a new fitting tab")
fileMenu.Append(self.mainFrame.closePageId, "&Close Tab\tCTRL+W", "Close the current fit")
fileMenu.Append(self.mainFrame.closeAllPagesId, "&Close All Tabs\tCTRL+ALT+W", "Close all open fits")
fileMenu.AppendSeparator()
fileMenu.Append(self.backupFitsId, "&Backup All Fittings", "Backup all fittings to a XML file")