fix: Find results staying behind until new search has finished

This commit is contained in:
WerWolv 2025-12-04 17:29:45 +01:00
parent 7585e191d0
commit ab54acb176
1 changed files with 6 additions and 0 deletions

View File

@ -1081,6 +1081,12 @@ namespace hex::plugin::builtin {
this->runSearch();
m_decodeSettings = m_searchSettings;
m_foundOccurrences->clear();
m_sortedOccurrences->clear();
m_occurrenceTree->clear();
m_lastSelectedOccurrence = nullptr;
EventHighlightingChanged::post();
}
ImGui::SetItemTooltip("%s", "hex.builtin.view.find.search"_lang.get());
}