impr: Added note to Advanced Yara Information section if no matches were found

This commit is contained in:
WerWolv
2025-08-28 17:24:51 +02:00
parent 8a4cdbb371
commit 8515cd43fa
3 changed files with 8 additions and 4 deletions

View File

@@ -10,6 +10,7 @@
#include <wolv/io/file.hpp>
#include <set>
#include <fonts/vscode_icons.hpp>
namespace hex::plugin::yara {
@@ -91,9 +92,11 @@ namespace hex::plugin::yara {
ImGui::EndTable();
}
} else {
ImGui::NewLine();
ImGui::BeginDisabled();
ImGuiExt::TextFormattedCenteredHorizontal("{}", "hex.yara.information_section.advanced_data_info.no_information"_lang);
ImGui::NewLine();
ImGui::EndDisabled();
ImGui::SameLine();
ImGuiExt::HelpHover("hex.yara.information_section.advanced_data_info.no_information.add_new"_lang, ICON_VS_INFO);
}
}