aboutsummaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2023-09-21 23:49:46 +0200
committer0neGal <mail@0negal.com>2023-09-21 23:49:46 +0200
commite4570176c2a15c31b78d2c70d9cff0676954b863 (patch)
tree4b2641669096d45777c8380942df0810b26e648c /src/app
parent926f72be0c0aa3b1f654a529c8fa46f4119815aa (diff)
downloadViper-e4570176c2a15c31b78d2c70d9cff0676954b863.tar.gz
Viper-e4570176c2a15c31b78d2c70d9cff0676954b863.zip
fixed buttons staying disabled after a path change
Diffstat (limited to 'src/app')
-rw-r--r--src/app/main.js1
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);