diff --git a/ocarina/source.py b/ocarina/source.py index 5918c1bd..b108961d 100644 --- a/ocarina/source.py +++ b/ocarina/source.py @@ -91,6 +91,8 @@ class ListView(gtk.TreeView): def goto(self): id = sources.cur_lib_id + if id == -1: + return for index, row in enumerate(self.filter_model): if row[0] == id: path = index - 10