mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-28 13:15:25 +00:00
parent
ec70ea6994
commit
362715bbeb
@ -315,7 +315,6 @@ class Dialog {
|
||||
}
|
||||
buttonsNode.appendChild(confirmBtn);
|
||||
this.root.appendChild(buttonsNode);
|
||||
this.entryList.layout();
|
||||
|
||||
this.path = options.defaultPath || "/";
|
||||
}
|
||||
@ -391,6 +390,8 @@ class Dialog {
|
||||
return true;
|
||||
});
|
||||
|
||||
this.entryList.layout();
|
||||
|
||||
this.entryList.setChildren(null, items.map((i: DialogEntry): ITreeElement<DialogEntry> => ({ element: i })));
|
||||
this.entryList.domFocus();
|
||||
this.entryList.setFocus([null]);
|
||||
|
Loading…
Reference in New Issue
Block a user