Fix setting saving

This commit is contained in:
Alexei Stukov 2017-05-02 18:15:02 +03:00 committed by GitHub
parent a85d8e19d9
commit 707afde649
1 changed files with 10 additions and 1 deletions

View File

@ -85,7 +85,7 @@ betterDiscordIPC.on('asynchronous-reply', (event, arg) => {
}); });
var settingsPanel, emoteModule, utils, quickEmoteMenu, opublicServers, voiceMode, pluginModule, themeModule, customCssEditor, dMode; var settingsPanel, emoteModule, utils, quickEmoteMenu, opublicServers, voiceMode, pluginModule, themeModule, customCssEditor, dMode;
var jsVersion = 1.78; var jsVersion = 1.79;
var supportedVersion = "0.2.81"; var supportedVersion = "0.2.81";
var mainObserver; var mainObserver;
@ -188,6 +188,13 @@ var bdchangelog = {
"text": "Replace Discord blue with BetterDiscord blue!", "text": "Replace Discord blue with BetterDiscord blue!",
"img": "" "img": ""
} }
},
"fixes": {
"0a": {
"title": "1.79 : Settings Saving",
"text": "Fixed settings not saving with new settings panel",
"img": ""
}
} }
}; };
@ -4937,6 +4944,8 @@ class V2_SettingsPanel {
} else { } else {
dMode.disable(); dMode.disable();
} }
mainCore.saveSettings();
} }
renderSidebar() { renderSidebar() {