Skip to content

Commit d45dd6b

Browse files
committed
ATL-1151: settings panel to reflect actual state
1 parent 1ab5634 commit d45dd6b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: arduino-ide-extension/src/browser/settings.tsx

+5
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,11 @@ export class SettingsDialog extends AbstractDialog<Promise<Settings>> {
777777

778778
protected onActivateRequest(msg: Message): void {
779779
super.onActivateRequest(msg);
780+
781+
// calling settingsService.reset() in order to reload the settings from the preferenceService
782+
// and update the UI including changes triggerd from the command palette
783+
this.settingsService.reset();
784+
780785
this.widget.activate();
781786
}
782787

0 commit comments

Comments
 (0)