Add undo and redo buttons in toolbar. Move undelete to the fit instead of edit menu

This commit is contained in:
cncfanatics
2010-08-12 18:06:01 +02:00
parent 8acc3d7323
commit 2206780fc6
2 changed files with 6 additions and 1 deletions

View File

@@ -36,7 +36,6 @@ class MainMenuBar(wx.MenuBar):
editMenu.Append(wx.ID_UNDO)
editMenu.Append(wx.ID_REDO)
editMenu.Append(wx.ID_UNDELETE)
# Fit menu
fitMenu = wx.Menu()
@@ -47,6 +46,7 @@ class MainMenuBar(wx.MenuBar):
fitMenu.Append(wx.ID_EDIT, "&Rename", "Rename this fit.")
fitMenu.Append(wx.ID_COPY)
fitMenu.Append(wx.ID_DELETE)
fitMenu.Append(wx.ID_UNDELETE)
fitMenu.AppendSeparator()
fitMenu.Append(wx.ID_OPEN, "&Import", "Import a fit into pyfa.")
fitMenu.Append(wx.ID_SAVEAS, "&Export", "Export the fit to another format.")