aboutsummaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js
index ed0fb3a..301c622 100644
--- a/src/index.js
+++ b/src/index.js
@@ -130,7 +130,13 @@ function start() {
}
});
- ipcMain.on("save-settings", (event, obj) => {settings.save(obj)});
+ ipcMain.on("save-settings", (event, obj) => {
+ settings.save(obj, false)
+ });
+
+ ipcMain.on("saved-settings", (event, obj) => {
+ send("changed-settings", obj);
+ });
// allows renderer to check for updates
ipcMain.on("ns-update-event", (event) => {send("ns-update-event", event)});