Added a nice icon for preferences dialog

This commit is contained in:
HomeWorld
2010-12-06 13:37:38 +02:00
parent c703252ee5
commit ca21652be8
3 changed files with 10 additions and 5 deletions

View File

@@ -296,7 +296,7 @@ class MainFrame(wx.Frame):
# Backup fits
self.Bind(wx.EVT_MENU, self.backupToXml, id=menuBar.backupFitsId)
# Preference dialog
self.Bind(wx.EVT_MENU, self.showPreferenceDialog, id=wx.ID_PREFERENCES)
self.Bind(wx.EVT_MENU, self.showPreferenceDialog, id = menuBar.preferencesId)
#Clipboard exports
self.Bind(wx.EVT_MENU, self.exportToClipboard, id=wx.ID_COPY)