diff --git a/Userland/DevTools/Profiler/FlameGraphView.cpp b/Userland/DevTools/Profiler/FlameGraphView.cpp index 351b9c9b15..df2e84b936 100644 --- a/Userland/DevTools/Profiler/FlameGraphView.cpp +++ b/Userland/DevTools/Profiler/FlameGraphView.cpp @@ -165,6 +165,7 @@ String FlameGraphView::bar_label(StackBar const& bar) const void FlameGraphView::layout_bars() { m_bars.clear(); + m_hovered_bar = nullptr; // Explicit copy here so the layout can mutate Vector selected = m_selected_indexes;