mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +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
|
||||
self.hostlist.get_selection().unselect_all()
|
||||
if len(self.liststore) > 0:
|
||||
self.hostlist.get_selection().select_path('0')
|
||||
self.hostlist.get_selection().select_path(0)
|
||||
|
||||
# Run the dialog
|
||||
self.connection_manager.run()
|
||||
|
|
Loading…
Add table
Reference in a new issue