aboutsummaryrefslogtreecommitdiffstats
path: root/idatui/edit_ctl.py
diff options
context:
space:
mode:
Diffstat (limited to 'idatui/edit_ctl.py')
-rw-r--r--idatui/edit_ctl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/idatui/edit_ctl.py b/idatui/edit_ctl.py
index 7364130..7803a7a 100644
--- a/idatui/edit_ctl.py
+++ b/idatui/edit_ctl.py
@@ -64,7 +64,7 @@ class EditController:
cur = app._cur
if cur is None:
return
- if app._active == "decomp":
+ if app.is_decomp:
# Snapshot the LIVE pseudocode position before forcing a recompile.
# dec_scroll_y isn't tracked on every move, so without this the reload
# falls into show()'s derive path (a bare scroll_to) and leaves a