Skip to content

Commit

Permalink
fixed buttons staying disabled after a path change
Browse files Browse the repository at this point in the history
  • Loading branch information
0neGal committed Sep 21, 2023
1 parent 926f72b commit e457017
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e457017

Please sign in to comment.