mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-11 02:48:39 +00:00
[GTKUI] Use int not string number for select_path
This commit is contained in:
parent
5a9784ff4d
commit
b2a2995c0d
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ class ConnectionManager(component.Component):
|
||||||
# if possible
|
# if possible
|
||||||
self.hostlist.get_selection().unselect_all()
|
self.hostlist.get_selection().unselect_all()
|
||||||
if len(self.liststore) > 0:
|
if len(self.liststore) > 0:
|
||||||
self.hostlist.get_selection().select_path('0')
|
self.hostlist.get_selection().select_path(0)
|
||||||
|
|
||||||
# Run the dialog
|
# Run the dialog
|
||||||
self.connection_manager.run()
|
self.connection_manager.run()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue