mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-10-03 01:53:12 -04: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()
|
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…
x
Reference in New Issue
Block a user