Skip to content

Commit 6e89e89

Browse files
author
Akos Kitta
committed
Fixed layout initialization.
Fixes for eclipse-theia/theia#6688 Signed-off-by: Akos Kitta <kittaakos@typefox.io>
1 parent c7242ca commit 6e89e89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-ide-extension/src/browser/customization/arduino-frontend-application.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class ArduinoFrontendApplication extends FrontendApplication {
2121
protected readonly editorMode: EditorMode;
2222

2323
protected async initializeLayout(): Promise<void> {
24-
super.initializeLayout().then(() => {
24+
return super.initializeLayout().then(() => {
2525
// If not in PRO mode, we open the sketch file with all the related files.
2626
// Otherwise, we reuse the workbench's restore functionality and we do not open anything at all.
2727
// TODO: check `otherwise`. Also, what if we check for opened editors, instead of blindly opening them?

0 commit comments

Comments
 (0)