mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
When updating plugins, do not show the dialog asking which toolbar to put the plugin, even if the user has removed the plugin for all toolbars.
This commit is contained in:
parent
6cd33e110e
commit
e6299cd561
@ -433,6 +433,9 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
|
|||||||
(key, list(gprefs.get('action-layout-'+key, [])))
|
(key, list(gprefs.get('action-layout-'+key, [])))
|
||||||
for key in all_locations])
|
for key in all_locations])
|
||||||
|
|
||||||
|
# If this is an update, do nothing
|
||||||
|
if previously_installed:
|
||||||
|
return
|
||||||
# If already installed in a GUI container, do nothing
|
# If already installed in a GUI container, do nothing
|
||||||
for action_names in installed_actions.itervalues():
|
for action_names in installed_actions.itervalues():
|
||||||
if plugin_action.name in action_names:
|
if plugin_action.name in action_names:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user