Skip to content

Commit

Permalink
fixed selector switching to All category when searching
Browse files Browse the repository at this point in the history
  • Loading branch information
tritonas00 committed Mar 28, 2022
1 parent 0b541ea commit f8de424
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion source/main/gui/panels/GUI_MainSelector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ void MainSelector::Draw()
}
if (ImGui::InputText("##SelectorSearch", m_search_input.GetBuffer(), m_search_input.GetCapacity()))
{
m_selected_category = 0; // 'All'
// `m_last_selected_category` intentionally not updated
this->UpdateSearchParams();
this->UpdateDisplayLists();
Expand Down

0 comments on commit f8de424

Please # to comment.