Skip to content

Commit

Permalink
updated to AST_ENABLE_FOR_WIDGET for 7+
Browse files Browse the repository at this point in the history
  • Loading branch information
herrcore committed Sep 16, 2021
1 parent 82806cc commit c5842b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions FindYara.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit c5842b8

Please sign in to comment.