ATL-1151: settings panel to reflect actual state

This commit is contained in:
Francesco Stasi 2021-03-29 16:08:18 +02:00 committed by Francesco Stasi
parent 1ab5634789
commit d45dd6beef

View File

@ -777,6 +777,11 @@ export class SettingsDialog extends AbstractDialog<Promise<Settings>> {
protected onActivateRequest(msg: Message): void {
super.onActivateRequest(msg);
// calling settingsService.reset() in order to reload the settings from the preferenceService
// and update the UI including changes triggerd from the command palette
this.settingsService.reset();
this.widget.activate();
}