Commits

Anonymous committed 092ee7c

Don’t use plain F6 as shortcut, only alt-F6 and Meta-F6 as fallback.

  • Participants
  • Parent commits 81546cf

Comments (0)

Files changed (2)

 
 - Icon Editor: show a preview of the icon.
 - Icon Editor: Added a delete and a folder. 
-- Register F6 and Alt-F6 als global shortcuts. 
+- Register Alt-F6 and Meta-F6 als global shortcuts. 
 
 pyRad 0.4.3
 
         self.showAction = KActionCollection(self).addAction("show")
         self.showAction.setHelpText(i18n("Show the PyRad"))
         short = self.showAction.shortcut()
-        short.setPrimary(QKeySequence(Qt.Key_F6))
-        short.setAlternate(QKeySequence(Qt.ALT + Qt.Key_F6))
+        short.setPrimary(QKeySequence(Qt.ALT + Qt.Key_F6))
+        short.setAlternate(QKeySequence(Qt.META + Qt.Key_F6))
         self.showAction.setShortcut(short)
         self.showAction.setGlobalShortcut(short)
         # p0 = QPoint(9,3)