Fix no focus on first item when switching mode (#7421)

This commit is contained in:
Bram Kragten 2020-10-21 18:50:08 +02:00 committed by GitHub
parent e553f35a68
commit 611202c905
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -245,6 +245,7 @@ export class QuickBar extends LitElement {
if (oldCommandMode !== this._commandMode) { if (oldCommandMode !== this._commandMode) {
this._items = undefined; this._items = undefined;
this._focusSet = false;
} }
} }