mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
impr: Added note to Advanced Yara Information section if no matches were found
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user