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:
Ell 2018-09-30 08:48:40 -04:00
parent 97498017c0
commit b672f20075

View file

@ -2704,20 +2704,10 @@ class ProfileViewer (Gtk.ScrolledWindow):
history.end_group ()
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 ()
history.end_group ()
def tree_selection_changed (self, tree_sel):
self.remove_subprofile ()