mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-22 12:39:59 +00:00
Fix: no longer loose changes when run install wizard or iniimport.
This commit is contained in:
parent
6878e317a7
commit
cc815c63f1
@ -95,7 +95,7 @@ Launcher::SettingsPage::~SettingsPage()
|
||||
|
||||
void Launcher::SettingsPage::on_wizardButton_clicked()
|
||||
{
|
||||
saveSettings();
|
||||
mMain->writeSettings();
|
||||
|
||||
if (!mWizardInvoker->startProcess(QLatin1String("openmw-wizard"), false))
|
||||
return;
|
||||
@ -103,7 +103,7 @@ void Launcher::SettingsPage::on_wizardButton_clicked()
|
||||
|
||||
void Launcher::SettingsPage::on_importerButton_clicked()
|
||||
{
|
||||
saveSettings();
|
||||
mMain->writeSettings();
|
||||
|
||||
// Create the file if it doesn't already exist, else the importer will fail
|
||||
QString path(QString::fromUtf8(mCfgMgr.getUserConfigPath().string().c_str()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user