mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
tools: in performance-log-view.py, don't change call-graph path ...
... when selecting a function's samples Since we now preserve the call-graph path across state changes, there's no need to explictly set the path after selecting a function's samples in the profile view.
This commit is contained in:
parent
97498017c0
commit
b672f20075
1 changed files with 1 additions and 11 deletions
|
@ -2704,20 +2704,10 @@ class ProfileViewer (Gtk.ScrolledWindow):
|
||||||
history.end_group ()
|
history.end_group ()
|
||||||
|
|
||||||
def select_samples_clicked (self, button):
|
def select_samples_clicked (self, button):
|
||||||
history.start_group ()
|
selection.select ({frame.sample for frame in self.frames})
|
||||||
|
|
||||||
self.root.select (self.id)
|
|
||||||
|
|
||||||
sel = set ()
|
|
||||||
|
|
||||||
for frame in self.frames:
|
|
||||||
sel.add (frame.sample)
|
|
||||||
|
|
||||||
selection.select (sel)
|
|
||||||
selection.change_complete ()
|
selection.change_complete ()
|
||||||
|
|
||||||
history.end_group ()
|
|
||||||
|
|
||||||
def tree_selection_changed (self, tree_sel):
|
def tree_selection_changed (self, tree_sel):
|
||||||
self.remove_subprofile ()
|
self.remove_subprofile ()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue