[GTKUI] Use int not string number for select_path

This commit is contained in:
Calum Lind 2017-02-12 11:26:31 +00:00
parent 5a9784ff4d
commit b2a2995c0d
1 changed files with 1 additions and 1 deletions

View File

@ -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()