+4
-4
lines changedFilter options
+4
-4
lines changed Original file line number Diff line number Diff line change
@@ -88,10 +88,10 @@ def focus_preset_by_filepath(self, filepath):
88
88
self.treestore, filepath
89
89
)
90
90
if treepath:
91
-
treepathcopy = treepath.copy()
92
-
while treepath.up():
93
-
self.treeview.expand_row(treepath, False)
94
-
self.treeview.set_cursor(treepathcopy)
91
+
self.treeview.expand_to_path(treepath)
92
+
self.treeview.set_cursor(treepath)
93
+
return True
94
+
return False
95
95
96
96
def focus_first_available(self):
97
97
init_iter = self.treestore.get_iter_first()
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4