diff options
Diffstat (limited to 'core/Query.zig')
| -rw-r--r-- | core/Query.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Query.zig b/core/Query.zig index fff6065c..1a420a68 100644 --- a/core/Query.zig +++ b/core/Query.zig @@ -1704,7 +1704,7 @@ fn displayPreview(p: *Pardes, qid: usize, path: []const u8, at: look.Spot) void pane.hscroll = 0; // another file: its own places, found below pane.places.clear(p.gpa); - p.sync(); + p.layOut(); } look.clearNavigationSelection(p, pane); if (at.line == 0 or at.line > File.nlines(p.gpa, f)) { |
