Skip to content

Commit 0cfcda2

Browse files
committed
fixes #59, restores many magic variables
1 parent 130636a commit 0cfcda2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def setupGlobals(uiactioncontext, uicontext):
150150

151151
if view_location is not None and view_location.isValid():
152152
active_il_index = view_location.getInstrIndex()
153-
ilType = view_location.getILViewType()
153+
ilType = view_location.getILViewType().view_type
154154
active_il_function = None
155155
if ilType == FunctionGraphType.LowLevelILFunctionGraph and uiactioncontext.function and uiactioncontext.function.llil_if_available:
156156
active_il_function = uiactioncontext.function.llil_if_available

0 commit comments

Comments
 (0)