mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-02-08 11:20:23 -05:00
check tracker: fix Clear (#4791)
when pressing Clear the input is cleared but list was not updated
This commit is contained in:
parent
0544c494e6
commit
fceb083dc0
@ -909,6 +909,7 @@ void CheckTrackerWindow::DrawElement() {
|
|||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
if (ImGui::Button("Clear")) {
|
if (ImGui::Button("Clear")) {
|
||||||
checkSearch.Clear();
|
checkSearch.Clear();
|
||||||
|
UpdateFilters();
|
||||||
doAreaScroll = true;
|
doAreaScroll = true;
|
||||||
}
|
}
|
||||||
UIWidgets::Tooltip("Clear the search field");
|
UIWidgets::Tooltip("Clear the search field");
|
||||||
|
Loading…
Reference in New Issue
Block a user