QScintilla/MiniEditor.py

changeset 3642
1a6f8d9b63a5
parent 3621
15f23ed3f216
child 3656
441956d8fce5
equal deleted inserted replaced
3640:2bf828881e86 3642:1a6f8d9b63a5
331 act.setShortcut(QKeySequence(accel)) 331 act.setShortcut(QKeySequence(accel))
332 accel = Preferences.Prefs.settings.value( 332 accel = Preferences.Prefs.settings.value(
333 "Shortcuts/{0}/{1}/AltAccel".format( 333 "Shortcuts/{0}/{1}/AltAccel".format(
334 category, act.objectName())) 334 category, act.objectName()))
335 if accel is not None: 335 if accel is not None:
336 act.setAlternateShortcut(QKeySequence(accel)) 336 act.setAlternateShortcut(QKeySequence(accel), removeEmpty=True)
337 337
338 def __createActions(self): 338 def __createActions(self):
339 """ 339 """
340 Private method to create the actions. 340 Private method to create the actions.
341 """ 341 """

eric ide

mercurial