fix: Highlighting of found elements not being cleared correctly

This commit is contained in:
WerWolv
2023-08-09 20:01:57 +02:00
parent 49d3fe65a3
commit 882849e73c
2 changed files with 2 additions and 1 deletions

View File

@@ -450,6 +450,7 @@ namespace hex::plugin::builtin {
AchievementManager::unlockAchievement("hex.builtin.achievement.find", "hex.builtin.achievement.find.find_specific_string.name");
}
this->m_occurrenceTree->clear();
this->m_searchTask = TaskManager::createTask("hex.builtin.view.find.searching", searchRegion.getSize(), [this, settings = this->m_searchSettings, searchRegion](auto &task) {
auto provider = ImHexApi::Provider::get();