fixed the save-as contribution.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
Akos Kitta 2020-07-22 16:08:13 +02:00
parent d9f4adfb78
commit 747f5d6a14

View File

@ -36,8 +36,8 @@ export class ApplicationShell extends TheiaApplicationShell {
}
}
async save(): Promise<void> {
await super.save();
async saveAll(): Promise<void> {
await super.saveAll();
await this.commandService.executeCommand(SaveAsSketch.Commands.SAVE_AS_SKETCH.id, { execOnlyIfTemp: true, openAfterMove: true });
}