From b2a2995c0dc3f7fe0d4c9de2c37214fe2698f903 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Sun, 12 Feb 2017 11:26:31 +0000 Subject: [PATCH] [GTKUI] Use int not string number for select_path --- deluge/ui/gtkui/connectionmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/gtkui/connectionmanager.py b/deluge/ui/gtkui/connectionmanager.py index c42c8230a..0192f7956 100644 --- a/deluge/ui/gtkui/connectionmanager.py +++ b/deluge/ui/gtkui/connectionmanager.py @@ -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()