forked from teamnwah/openmw-tes3coop
launcher bugfix, settings was not written when "Play" was selected
This commit is contained in:
parent
c37b14f5f7
commit
b73b39f3c6
1 changed files with 4 additions and 0 deletions
|
@ -240,6 +240,10 @@ void MainDialog::play()
|
||||||
mDataFilesPage->writeConfig();
|
mDataFilesPage->writeConfig();
|
||||||
mGraphicsPage->writeConfig();
|
mGraphicsPage->writeConfig();
|
||||||
|
|
||||||
|
// Save user settings
|
||||||
|
const std::string settingspath = (mCfgMgr.getUserPath() / "settings.cfg").string();
|
||||||
|
mSettings.saveUser(settingspath);
|
||||||
|
|
||||||
#ifdef Q_WS_WIN
|
#ifdef Q_WS_WIN
|
||||||
QString game = "./openmw.exe";
|
QString game = "./openmw.exe";
|
||||||
QFile file(game);
|
QFile file(game);
|
||||||
|
|
Loading…
Reference in a new issue