mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-24 09:39:51 +00:00
launcher bugfix, settings was not written when "Play" was selected
This commit is contained in:
parent
c37b14f5f7
commit
b73b39f3c6
@ -240,6 +240,10 @@ void MainDialog::play()
|
||||
mDataFilesPage->writeConfig();
|
||||
mGraphicsPage->writeConfig();
|
||||
|
||||
// Save user settings
|
||||
const std::string settingspath = (mCfgMgr.getUserPath() / "settings.cfg").string();
|
||||
mSettings.saveUser(settingspath);
|
||||
|
||||
#ifdef Q_WS_WIN
|
||||
QString game = "./openmw.exe";
|
||||
QFile file(game);
|
||||
|
Loading…
x
Reference in New Issue
Block a user