mirror of
https://github.com/wolfpld/tracy
synced 2025-05-03 06:03:51 +00:00
Properly reset state when switching matched source locations.
This commit is contained in:
parent
ea779905a3
commit
fb013c0df5
@ -4584,7 +4584,7 @@ void View::DrawFindZone()
|
||||
|
||||
if( m_findZone.selMatch != prev )
|
||||
{
|
||||
m_findZone.ResetGroups();
|
||||
m_findZone.ResetMatch();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user