launcher bugfix, settings was not written when "Play" was selected

pull/21/head
scrawl 13 years ago
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…
Cancel
Save