forked from mirror/openmw-tes3mp
Fix: no longer loose changes when run install wizard or iniimport.
This commit is contained in:
parent
6878e317a7
commit
cc815c63f1
1 changed files with 2 additions and 2 deletions
|
@ -95,7 +95,7 @@ Launcher::SettingsPage::~SettingsPage()
|
||||||
|
|
||||||
void Launcher::SettingsPage::on_wizardButton_clicked()
|
void Launcher::SettingsPage::on_wizardButton_clicked()
|
||||||
{
|
{
|
||||||
saveSettings();
|
mMain->writeSettings();
|
||||||
|
|
||||||
if (!mWizardInvoker->startProcess(QLatin1String("openmw-wizard"), false))
|
if (!mWizardInvoker->startProcess(QLatin1String("openmw-wizard"), false))
|
||||||
return;
|
return;
|
||||||
|
@ -103,7 +103,7 @@ void Launcher::SettingsPage::on_wizardButton_clicked()
|
||||||
|
|
||||||
void Launcher::SettingsPage::on_importerButton_clicked()
|
void Launcher::SettingsPage::on_importerButton_clicked()
|
||||||
{
|
{
|
||||||
saveSettings();
|
mMain->writeSettings();
|
||||||
|
|
||||||
// Create the file if it doesn't already exist, else the importer will fail
|
// Create the file if it doesn't already exist, else the importer will fail
|
||||||
QString path(QString::fromUtf8(mCfgMgr.getUserConfigPath().string().c_str()));
|
QString path(QString::fromUtf8(mCfgMgr.getUserConfigPath().string().c_str()));
|
||||||
|
|
Loading…
Reference in a new issue