Change shortcut for wx-inspector now ctrl-alt-i
authoretisserant
Wed, 30 Jul 2008 17:16:57 +0200
changeset 200 009fc5850157
parent 199 aa5f43bafad4
child 201 520d2416ff4d
Change shortcut for wx-inspector now ctrl-alt-i
Beremiz.py
--- a/Beremiz.py	Tue Jul 15 17:57:04 2008 +0200
+++ b/Beremiz.py	Wed Jul 30 17:16:57 2008 +0200
@@ -307,7 +307,7 @@
         self.Bind(wx.EVT_CLOSE, self.OnCloseFrame)
 
         self.Bind(wx.EVT_MENU, self.OnOpenWidgetInspector, id=ID_BEREMIZINSPECTOR)
-        accel = wx.AcceleratorTable([wx.AcceleratorEntry(wx.ACCEL_SHIFT, wx.WXK_HOME, ID_BEREMIZINSPECTOR)])
+        accel = wx.AcceleratorTable([wx.AcceleratorEntry(wx.ACCEL_CTRL|wx.ACCEL_ALT, ord('I'), ID_BEREMIZINSPECTOR)])
         self.SetAcceleratorTable(accel)
         
         if wx.VERSION < (2, 8, 0):