Skip to content

Commit

Permalink
Merge pull request #20 from genskyff/master
Browse files Browse the repository at this point in the history
Fixed a bug.
  • Loading branch information
L4ys authored Feb 9, 2022
2 parents bf937fc + d5fea45 commit a4af05a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LazyIDA.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def update(self, ctx):
target_attr = "widget_type"
else:
target_attr = "form_type"
if ctx.__getattr__(target_attr) in (idaapi.BWN_DISASM, idaapi.BWN_DUMP):
if ctx.__getattribute__(target_attr) in (idaapi.BWN_DISASM, idaapi.BWN_DUMP):
return idaapi.AST_ENABLE_FOR_WIDGET
else:
return idaapi.AST_DISABLE_FOR_WIDGET
Expand Down

0 comments on commit a4af05a

Please sign in to comment.