A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/themix-project/themix-gui/commit/9c4d511e3b747b40658a748894068810ca36d195 below:

correctly expand long tree paths · themix-project/themix-gui@9c4d511 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+4

-4

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+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