From c3c9603ea142ff895a0c8245607dac97189821f0 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Fri, 29 Dec 2023 10:41:25 +0100 Subject: [PATCH] fix: Yara rules Add button not doing anything --- plugins/yara_rules/source/content/views/view_yara.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/yara_rules/source/content/views/view_yara.cpp b/plugins/yara_rules/source/content/views/view_yara.cpp index 3307e895c..698ec09b6 100644 --- a/plugins/yara_rules/source/content/views/view_yara.cpp +++ b/plugins/yara_rules/source/content/views/view_yara.cpp @@ -122,10 +122,10 @@ namespace hex::plugin::yara { } } - /*PopupFileChooser::open(basePaths, paths, std::vector{ { "Yara File", "yara" }, { "Yara File", "yar" } }, true, + ui::PopupFileChooser::open(basePaths, paths, std::vector{ { "Yara File", "yara" }, { "Yara File", "yar" } }, true, [&](const auto &path) { m_rules->push_back({ path.filename(), path }); - });*/ + }); } ImGui::SameLine();