perf hists browser: Reset selection when refresh
[deliverable/linux.git] / tools / perf / ui / browsers / hists.c
index 932e13d015b9c1464db1e3ee57ac3d6935558729..84c8251f39a1f3ada8600286738f168eb369b8f1 100644 (file)
@@ -928,6 +928,8 @@ static unsigned int hist_browser__refresh(struct ui_browser *browser)
        }
 
        ui_browser__hists_init_top(browser);
+       hb->he_selection = NULL;
+       hb->selection = NULL;
 
        for (nd = browser->top; nd; nd = rb_next(nd)) {
                struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node);
This page took 0.034502 seconds and 5 git commands to generate.