mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-04-28 21:27:58 +03: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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue