From c5842b85eee62c9c75f0f195fde72acdebc8cfc5 Mon Sep 17 00:00:00 2001 From: herrcore Date: Thu, 16 Sep 2021 19:10:42 -0400 Subject: [PATCH] updated to AST_ENABLE_FOR_WIDGET for 7+ --- FindYara.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/FindYara.py b/FindYara.py index 697345a..7225a83 100644 --- a/FindYara.py +++ b/FindYara.py @@ -35,7 +35,7 @@ PLUGIN_NAME = "FindYara" PLUGIN_HOTKEY = "Ctrl-Alt-Y" -VERSION = '3.1.0' +VERSION = '3.2.0' try: class Kp_Menu_Context(idaapi.action_handler_t): @@ -82,8 +82,8 @@ def activate(self, ctx): @classmethod def update(self, ctx): if ctx.form_type == idaapi.BWN_DISASM: - return idaapi.AST_ENABLE_FOR_FORM - return idaapi.AST_DISABLE_FOR_FORM + return idaapi.AST_ENABLE_FOR_WIDGET + return idaapi.AST_DISABLE_FOR_WIDGET class Searcher(Kp_Menu_Context):