diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 3dac41b5..f8a78175 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -4584,7 +4584,7 @@ void View::DrawFindZone() if( m_findZone.selMatch != prev ) { - m_findZone.ResetGroups(); + m_findZone.ResetMatch(); } } diff --git a/server/TracyView.hpp b/server/TracyView.hpp index d6c8587b..c93d5e52 100644 --- a/server/TracyView.hpp +++ b/server/TracyView.hpp @@ -302,11 +302,16 @@ private: void Reset() { - ResetGroups(); + ResetMatch(); match.clear(); selMatch = 0; selGroup = Unselected; highlight.active = false; + } + + void ResetMatch() + { + ResetGroups(); sorted.clear(); sortedNum = 0; average = 0;