Skip to content

Commit bea8c35

Browse files
committed
fix(launcher): First select on launcher open
1 parent 66bbd4c commit bea8c35

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/search.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,10 +317,11 @@ export class Search {
317317
}
318318

319319
if (id === 0) {
320-
if (this.widgets.length != 0) {
320+
GLib.idle_add(GLib.PRIORITY_DEFAULT, () => {
321321
this.highlight_selected();
322322
this.select(0);
323-
}
323+
return false
324+
})
324325
}
325326
}
326327

0 commit comments

Comments
 (0)