From b3862747385a37a2670c3abd75be33f08d58599b Mon Sep 17 00:00:00 2001 From: Christophe Kamphaus Date: Sun, 28 Feb 2016 23:21:24 +0100 Subject: [PATCH] Added standard keyboard shortcuts for opening and saving files --- gui/Gui/Mainwindow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/Gui/Mainwindow.py b/gui/Gui/Mainwindow.py index ff927b1..7c7d870 100644 --- a/gui/Gui/Mainwindow.py +++ b/gui/Gui/Mainwindow.py @@ -159,8 +159,8 @@ class MainWindow(wx.Frame): def CreateMenus(self): menuBar = wx.MenuBar() self.CreateMenu(menuBar, '&File', [ - (wx.ID_OPEN, '&Open', 'Open a new file', self.OnOpen), - (wx.ID_SAVE, '&Save', 'Save the current file', self.OnSave), + (wx.ID_OPEN, '&Open\tCTRL-O', 'Open a new file', self.OnOpen), + (wx.ID_SAVE, '&Save\tCTRL-S', 'Save the current file', self.OnSave), (wx.ID_SAVEAS, 'Save &As', 'Save the file under a different name', self.OnSaveAs), (None, None, None, None),