Change shortcuts for undo/redo from built-in wx standards to ctrl-z and ctrl-y

This commit is contained in:
DarkPhoenix
2020-04-20 14:42:32 +03:00
parent 509fa279e7
commit 98579c774b

View File

@@ -80,8 +80,8 @@ class MainMenuBar(wx.MenuBar):
fitMenu = wx.Menu()
self.Append(fitMenu, "Fi&t")
fitMenu.Append(wx.ID_UNDO)
fitMenu.Append(wx.ID_REDO)
fitMenu.Append(wx.ID_UNDO, "&Undo\tCTRL+Z", "Undo the most recent action")
fitMenu.Append(wx.ID_REDO, "&Redo\tCTRL+Y", "Redo the most recent undone action")
fitMenu.AppendSeparator()
fitMenu.Append(wx.ID_COPY, "&To Clipboard\tCTRL+C", "Export a fit to the clipboard")