1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Properly reset state when switching matched source locations.

This commit is contained in:
Bartosz Taudul
2018-09-02 13:25:17 +02:00
parent ea779905a3
commit fb013c0df5
2 changed files with 7 additions and 2 deletions
+6 -1
View File
@@ -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;