[GTKUI] Use int not string number for select_path
This commit is contained in:
parent
5a9784ff4d
commit
b2a2995c0d
|
@ -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…
Reference in New Issue