mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-11 03:55:43 +00:00
Run the plugin's show_prefs callbacks before the preferences dialog's show()
This commit is contained in:
parent
9c641bb6d0
commit
3d4e05b5e0
@ -174,6 +174,8 @@ class Preferences(component.Component):
|
||||
self.treeview.get_selection().select_path(index)
|
||||
break
|
||||
|
||||
component.get("PluginManager").run_on_show_prefs()
|
||||
|
||||
# Update the preferences dialog to reflect current config settings
|
||||
self.core_config = {}
|
||||
if client.connected():
|
||||
@ -510,7 +512,6 @@ class Preferences(component.Component):
|
||||
self.plugin_liststore.set_value(row, 0, plugin)
|
||||
self.plugin_liststore.set_value(row, 1, enabled)
|
||||
|
||||
component.get("PluginManager").run_on_show_prefs()
|
||||
# Now show the dialog
|
||||
self.pref_dialog.show()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user