From 2013482afb5b31e1d3ed57c73bb0653b8a54a950 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 1 Oct 2021 10:19:39 +0530 Subject: [PATCH] Fix #1945040 [[Enhancement] Remove separator between drop down menu restart options](https://bugs.launchpad.net/calibre/+bug/1945040) --- src/calibre/gui2/actions/preferences.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/calibre/gui2/actions/preferences.py b/src/calibre/gui2/actions/preferences.py index 52269b4ce6..48bae8c6a6 100644 --- a/src/calibre/gui2/actions/preferences.py +++ b/src/calibre/gui2/actions/preferences.py @@ -32,11 +32,10 @@ class PreferencesAction(InterfaceAction): icon='wizard.png', triggered=self.gui.run_wizard) cm('plugin updater', _('Get plugins to enhance calibre'), icon='plugins/plugin_updater.png', triggered=self.get_plugins) + pm.addSeparator() if not DEBUG: - pm.addSeparator() cm('restart', _('Restart in debug mode'), icon='debug.png', triggered=self.debug_restart, shortcut='Ctrl+Shift+R') - pm.addSeparator() cm('restart_without_plugins', _('Restart ignoring third party plugins'), icon='debug.png', triggered=self.no_plugins_restart, shortcut='Ctrl+Alt+Shift+R')