Reset settings editor on settings import and reset
This commit is contained in:
parent
f77506c454
commit
7aacbec108
@ -213,6 +213,7 @@ export default {
|
||||
this.settings.active = newSettings;
|
||||
this.settings.saveWithoutReload();
|
||||
this.importSettingDialogConfig = {visible: false};
|
||||
this.resetSettingsEditor();
|
||||
},
|
||||
reject: () => {
|
||||
this.importSettingDialogConfig = {visible: false};
|
||||
@ -230,6 +231,7 @@ export default {
|
||||
resetSettings() {
|
||||
this.settings.active = JSON.parse(JSON.stringify(this.settings.default));
|
||||
this.settings.saveWithoutReload();
|
||||
this.resetSettingsEditor();
|
||||
},
|
||||
|
||||
saveSettingsChanges() {
|
||||
|
Loading…
Reference in New Issue
Block a user