From ab54acb176787be0829648518f46bcdcc3f4b62d Mon Sep 17 00:00:00 2001 From: WerWolv Date: Thu, 4 Dec 2025 17:29:45 +0100 Subject: [PATCH] fix: Find results staying behind until new search has finished --- plugins/builtin/source/content/views/view_find.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/builtin/source/content/views/view_find.cpp b/plugins/builtin/source/content/views/view_find.cpp index 0b5133c25..67384c6a8 100644 --- a/plugins/builtin/source/content/views/view_find.cpp +++ b/plugins/builtin/source/content/views/view_find.cpp @@ -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()); }