mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #5858 (Can not access preferences in version 0.7.2)
This commit is contained in:
parent
54af6259bc
commit
8974401532
@ -163,8 +163,7 @@ class ToolbarMixin(object): # {{{
|
|||||||
self.convert_menu = cm
|
self.convert_menu = cm
|
||||||
|
|
||||||
pm = QMenu()
|
pm = QMenu()
|
||||||
ap = self.action_preferences
|
pm.addAction(QIcon(I('config.svg')), _('Preferences'), self.do_config)
|
||||||
pm.addAction(ap)
|
|
||||||
pm.addAction(QIcon(I('wizard.svg')), _('Run welcome wizard'),
|
pm.addAction(QIcon(I('wizard.svg')), _('Run welcome wizard'),
|
||||||
self.run_wizard)
|
self.run_wizard)
|
||||||
self.action_preferences.setMenu(pm)
|
self.action_preferences.setMenu(pm)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user