From 9597dd7b6da260581930c30d3a36e0b2f3545c30 Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Tue, 18 Nov 2025 19:33:40 +0100 Subject: [PATCH] fix: regression by bad merge in 1600bf6 --- src/tui/mode/overlay/palette.zig | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/tui/mode/overlay/palette.zig b/src/tui/mode/overlay/palette.zig index cb02698..e8ee77b 100644 --- a/src/tui/mode/overlay/palette.zig +++ b/src/tui/mode/overlay/palette.zig @@ -111,8 +111,6 @@ pub fn Create(options: type) type { try options.load_entries_with_args(self, ctx) else try options.load_entries(self); - if (self.entries.items.len > 0) - self.initial_selected = self.menu.selected; if (@hasDecl(options, "restore_state")) options.restore_state(self) catch {}; if (@hasDecl(options, "initial_query")) blk: {