Skip to content

Commit 8a8e16a

Browse files
authored
Merge pull request wolfpld#1083 from siliceum/bugfix/clear-button-find-zone
Fix Clear button behavior in Find Zone
2 parents be89f22 + 17ab46c commit 8a8e16a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

profiler/src/profiler/TracyView_FindZone.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ void View::DrawFindZone()
307307

308308
if( ImGui::Button( ICON_FA_BAN " Clear" ) )
309309
{
310+
m_findZone.pattern[0] = '\0';
310311
m_findZone.Reset();
311312
}
312313
ImGui::SameLine();

0 commit comments

Comments
 (0)