mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
Run the plugin's show_prefs callbacks before the preferences dialog's show()
This commit is contained in:
parent
9c641bb6d0
commit
3d4e05b5e0
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue