mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 05:47:50 +00:00
Fix double-clicking on host entry to connect
This commit is contained in:
parent
d6fd69eba8
commit
b3b856bcca
@ -363,7 +363,7 @@ class ConnectionManager(component.Component):
|
||||
if self.gtkui_config["autoconnect"]:
|
||||
self.gtkui_config["autoconnect_host_id"] = host_id
|
||||
|
||||
def on_button_connect_clicked(self, widget):
|
||||
def on_button_connect_clicked(self, widget=None):
|
||||
model, row = self.hostlist.get_selection().get_selected()
|
||||
status = model[row][HOSTLIST_COL_STATUS]
|
||||
if status == "Connected":
|
||||
|
Loading…
x
Reference in New Issue
Block a user