mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
impr: Make strings in the data information view selectable and copyable
This commit is contained in:
@@ -78,7 +78,7 @@ namespace hex::plugin::yara {
|
||||
if (ImGuiExt::BeginSubWindow(categoryName.c_str())) {
|
||||
for (const auto &match : category.matchedRules) {
|
||||
const auto &ruleName = match.metadata.contains("name") ? match.metadata.at("name") : match.identifier;
|
||||
ImGui::TextUnformatted(ruleName.c_str());
|
||||
ImGuiExt::TextFormattedSelectable("{}", ruleName);
|
||||
}
|
||||
}
|
||||
ImGuiExt::EndSubWindow();
|
||||
|
||||
Reference in New Issue
Block a user