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