summaryrefslogtreecommitdiff
path: root/core/ninep/events.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/ninep/events.zig')
-rw-r--r--core/ninep/events.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ninep/events.zig b/core/ninep/events.zig
index 6946401b..2d539cca 100644
--- a/core/ninep/events.zig
+++ b/core/ninep/events.zig
@@ -148,7 +148,7 @@ pub fn announce(p: *Pardes) void {
noteLog(p, .new, pane);
// A file, PDF or image opened (a look, a Restore, a boot): first in
// Recent.
- if (pardes.Pardes.recentPlace(pane)) |d| if (pardes.Pardes.recentKeeps(d.path)) p.recent.opened(p.recentGpa(), d.path);
+ if (pardes.Pardes.recentPlace(pane)) |d| if (pardes.Pardes.onDisk(pane)) p.recent.opened(p.recentGpa(), d.path);
}
}