fix: regression by bad merge in 1600bf6
This commit is contained in:
parent
f26d0534de
commit
9597dd7b6d
1 changed files with 0 additions and 2 deletions
|
|
@ -111,8 +111,6 @@ pub fn Create(options: type) type {
|
||||||
try options.load_entries_with_args(self, ctx)
|
try options.load_entries_with_args(self, ctx)
|
||||||
else
|
else
|
||||||
try options.load_entries(self);
|
try options.load_entries(self);
|
||||||
if (self.entries.items.len > 0)
|
|
||||||
self.initial_selected = self.menu.selected;
|
|
||||||
if (@hasDecl(options, "restore_state"))
|
if (@hasDecl(options, "restore_state"))
|
||||||
options.restore_state(self) catch {};
|
options.restore_state(self) catch {};
|
||||||
if (@hasDecl(options, "initial_query")) blk: {
|
if (@hasDecl(options, "initial_query")) blk: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue