diff options
author | 0neGal <mail@0negal.com> | 2023-09-21 23:49:46 +0200 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2023-09-21 23:49:46 +0200 |
commit | e4570176c2a15c31b78d2c70d9cff0676954b863 (patch) | |
tree | 4b2641669096d45777c8380942df0810b26e648c | |
parent | 926f72be0c0aa3b1f654a529c8fa46f4119815aa (diff) | |
download | Viper-e4570176c2a15c31b78d2c70d9cff0676954b863.tar.gz Viper-e4570176c2a15c31b78d2c70d9cff0676954b863.zip |
fixed buttons staying disabled after a path change
-rw-r--r-- | src/app/main.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/main.js b/src/app/main.js index fcef7be..44e15ce 100644 --- a/src/app/main.js +++ b/src/app/main.js @@ -318,6 +318,7 @@ function isModInstalled(modname) { // Frontend part of settings a new game path ipcRenderer.on("newpath", (event, newpath) => { + setButtons(true); settings.gamepath = newpath; ipcRenderer.send("gui-getmods"); ipcRenderer.send("save-settings", settings); |