From fe6e9feb7f1a0e1bd6e1e15cc04bbe2b3fc51b55 Mon Sep 17 00:00:00 2001 From: tritonas00 Date: Mon, 28 Mar 2022 12:53:17 +0300 Subject: [PATCH] fixed selector switching to All category when searching --- source/main/gui/panels/GUI_MainSelector.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/source/main/gui/panels/GUI_MainSelector.cpp b/source/main/gui/panels/GUI_MainSelector.cpp index 5101e2b5e5..5f6d0e6ef6 100644 --- a/source/main/gui/panels/GUI_MainSelector.cpp +++ b/source/main/gui/panels/GUI_MainSelector.cpp @@ -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();