From 747f5d6a14e6c81b41ef6f1bc3a1e158d3da0c4b Mon Sep 17 00:00:00 2001 From: Akos Kitta Date: Wed, 22 Jul 2020 16:08:13 +0200 Subject: [PATCH] fixed the save-as contribution. Signed-off-by: Akos Kitta --- .../src/browser/theia/core/application-shell.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arduino-ide-extension/src/browser/theia/core/application-shell.ts b/arduino-ide-extension/src/browser/theia/core/application-shell.ts index fb94ae5c..d8767008 100644 --- a/arduino-ide-extension/src/browser/theia/core/application-shell.ts +++ b/arduino-ide-extension/src/browser/theia/core/application-shell.ts @@ -36,8 +36,8 @@ export class ApplicationShell extends TheiaApplicationShell { } } - async save(): Promise { - await super.save(); + async saveAll(): Promise { + await super.saveAll(); await this.commandService.executeCommand(SaveAsSketch.Commands.SAVE_AS_SKETCH.id, { execOnlyIfTemp: true, openAfterMove: true }); }