From 0d880babfbe8056c34e8aaee3b2279fa40c70272 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Wed, 13 Mar 2024 22:39:21 +0100 Subject: [PATCH] fix: Advanced data information not showing up correctly --- plugins/yara_rules/source/content/data_information_sections.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/yara_rules/source/content/data_information_sections.cpp b/plugins/yara_rules/source/content/data_information_sections.cpp index b7fb97279..622812bfc 100644 --- a/plugins/yara_rules/source/content/data_information_sections.cpp +++ b/plugins/yara_rules/source/content/data_information_sections.cpp @@ -57,7 +57,7 @@ namespace hex::plugin::yara { } void drawContent() override { - const auto empty = std::ranges::any_of(m_categories, [](const auto &entry) { + const auto empty = !std::ranges::any_of(m_categories, [](const auto &entry) { const auto &[categoryName, category] = entry; return !category.matchedRules.empty(); });