mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 20:14:51 +00:00
Fix double-clicking on host entry to connect
This commit is contained in:
parent
d6fd69eba8
commit
b3b856bcca
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue