mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
Apply blocklist prefs when the buttons are pressed.
This commit is contained in:
parent
df30d4b5c9
commit
83690d5aaf
1 changed files with 2 additions and 0 deletions
|
@ -138,9 +138,11 @@ class GtkUI(ui.UI):
|
||||||
client.blocklist_set_config(None, config)
|
client.blocklist_set_config(None, config)
|
||||||
|
|
||||||
def _on_button_check_download_clicked(self, widget):
|
def _on_button_check_download_clicked(self, widget):
|
||||||
|
self._on_apply_prefs()
|
||||||
client.blocklist_import(None, True, False)
|
client.blocklist_import(None, True, False)
|
||||||
|
|
||||||
def _on_button_force_download_clicked(self, widget):
|
def _on_button_force_download_clicked(self, widget):
|
||||||
|
self._on_apply_prefs()
|
||||||
client.blocklist_import(None, True, True)
|
client.blocklist_import(None, True, True)
|
||||||
|
|
||||||
def _on_status_item_clicked(self, widget, event):
|
def _on_status_item_clicked(self, widget, event):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue