diff options
Diffstat (limited to 'src/edit.zig')
| -rw-r--r-- | src/edit.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit.zig b/src/edit.zig index 8691633c..5adb94e3 100644 --- a/src/edit.zig +++ b/src/edit.zig @@ -463,7 +463,7 @@ fn editText(p: *Pardes, t: *Text, lo: i32, hi: i32, col: i32) ?panes.EditText { if (t.what != .body) return .{ .text = t.own orelse &.{}, .row0 = 0 }; const pane = t.pane() orelse return null; if (pane.file) |f| return .{ .text = f.content, .row0 = 0 }; - if (pane.image != null or pane.hasPdf()) return null; + if (pane.addon != null or pane.hasPdf()) return null; return panes.terminal.editText(p, pane, lo, hi, col); } |
