Fix #1945040 [[Enhancement] Remove separator between drop down menu restart options](https://bugs.launchpad.net/calibre/+bug/1945040)

This commit is contained in:
Kovid Goyal 2021-10-01 10:19:39 +05:30
parent 14ec131766
commit 2013482afb
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -32,11 +32,10 @@ class PreferencesAction(InterfaceAction):
icon='wizard.png', triggered=self.gui.run_wizard) icon='wizard.png', triggered=self.gui.run_wizard)
cm('plugin updater', _('Get plugins to enhance calibre'), cm('plugin updater', _('Get plugins to enhance calibre'),
icon='plugins/plugin_updater.png', triggered=self.get_plugins) icon='plugins/plugin_updater.png', triggered=self.get_plugins)
pm.addSeparator()
if not DEBUG: if not DEBUG:
pm.addSeparator()
cm('restart', _('Restart in debug mode'), icon='debug.png', cm('restart', _('Restart in debug mode'), icon='debug.png',
triggered=self.debug_restart, shortcut='Ctrl+Shift+R') triggered=self.debug_restart, shortcut='Ctrl+Shift+R')
pm.addSeparator()
cm('restart_without_plugins', _('Restart ignoring third party plugins'), icon='debug.png', cm('restart_without_plugins', _('Restart ignoring third party plugins'), icon='debug.png',
triggered=self.no_plugins_restart, shortcut='Ctrl+Alt+Shift+R') triggered=self.no_plugins_restart, shortcut='Ctrl+Alt+Shift+R')