mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
Save 'enabled' configuration between restarts
This commit is contained in:
parent
c1d2f00c9b
commit
e3943f210d
1 changed files with 1 additions and 0 deletions
|
@ -398,6 +398,7 @@ var labels = {
|
||||||
checked: true,
|
checked: true,
|
||||||
click: function () {
|
click: function () {
|
||||||
trayNotifications.enable(!trayNotifications.enabled(), notificationCallback);
|
trayNotifications.enable(!trayNotifications.enabled(), notificationCallback);
|
||||||
|
userConfig.save(configPath);
|
||||||
updateTrayMenu(homeServer ? homeServer.state : ProcessGroupStates.STOPPED);
|
updateTrayMenu(homeServer ? homeServer.state : ProcessGroupStates.STOPPED);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue