summaryrefslogtreecommitdiff
path: root/src/panes.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/panes.zig')
-rw-r--r--src/panes.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panes.zig b/src/panes.zig
index 4f7ca0e7..c0783ac7 100644
--- a/src/panes.zig
+++ b/src/panes.zig
@@ -1044,7 +1044,7 @@ pub fn removePane(p: *Pardes, id: usize, to: ?usize) error{OutOfMemory}!void {
p.quit = true;
return p.emit(.quit);
};
- if (emptied) |c| if (!finder_gone and !p.header_focus) tagline.enterHeader(p, c);
+ if (emptied) |c| if (!finder_gone and p.header == null) tagline.enterHeader(p, c);
}
/// The pane Last should fall back to when the jumplist has nothing: the