fix id collision in clear button

This commit is contained in:
Kristoffer 2023-05-01 13:13:37 +02:00
parent ef68f3139f
commit 6c5029af78

View File

@ -1368,7 +1368,7 @@ void View::DrawFindZone()
bool filterChanged = m_userTextFilter.Draw( ICON_FA_FILTER "###resultFilter", 200 );
ImGui::SameLine();
if( ImGui::Button( ICON_FA_DELETE_LEFT " Clear" ) )
if( ImGui::Button( ICON_FA_DELETE_LEFT " Clear###userText" ) )
{
m_userTextFilter.Clear();
filterChanged = true;