aboutsummaryrefslogtreecommitdiff
path: root/qmpsettingswindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmpsettingswindow.cpp')
-rw-r--r--qmpsettingswindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/qmpsettingswindow.cpp b/qmpsettingswindow.cpp
index 465bbc8..622093e 100644
--- a/qmpsettingswindow.cpp
+++ b/qmpsettingswindow.cpp
@@ -148,6 +148,9 @@ void qmpSettingsWindow::settingsInit()
settings->setValue("Behavior/SaveEfxParam",settings->value("Behavior/SaveEfxParam",1));
ui->cbSaveEfxParam->setChecked(settings->value("Behavior/SaveEfxParam",1).toInt());
+ settings->setValue("Behavior/SingleInstance",settings->value("Behavior/SingleInstance",0));
+ ui->cbPersistentfs->setChecked(settings->value("Behavior/SingleInstance",0).toInt());
+
settings->sync();
delete_fluid_settings(fsettings);
}
@@ -219,6 +222,7 @@ void qmpSettingsWindow::settingsUpdate()
settings->remove("Effects/ChorusType");
}
+ settings->setValue("Behavior/SingleInstance",ui->cbPersistentfs->isChecked()?1:0);
settings->sync();
}