Shift function key accelerators down by one (from F5 and up to F4 and up).
[hooke.git] / hooke / ui / gui / menu.py
index 7ee0b2e9452b1a0916da50301b86bed1c6e4cd78..ebb3a512da6d4f089ea9ef2e414dc5873a5d9a17 100644 (file)
@@ -101,7 +101,7 @@ class ViewMenu (Menu):
         self._callbacks = callbacks
         self._c = {}
         for i,panelname in enumerate(sorted([p.managed_name for p in panels])):
-            text = '%s\tF%d' % (panelname, i+5)
+            text = '%s\tF%d' % (panelname, i+4)
             self._c[panelname] = self.AppendCheckItem(id=wx.ID_ANY, text=text)
         for item in self._c.values():
             item.Check()