aboutsummaryrefslogtreecommitdiff
path: root/qmpsettingswindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmpsettingswindow.cpp')
-rw-r--r--qmpsettingswindow.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/qmpsettingswindow.cpp b/qmpsettingswindow.cpp
index b1f620c..c2e31a2 100644
--- a/qmpsettingswindow.cpp
+++ b/qmpsettingswindow.cpp
@@ -63,6 +63,9 @@ void qmpSettingsWindow::settingsInit()
settings->setValue("Midi/SendSysEx",settings->value("Midi/SendSysEx",1));
ui->cbSendSysx->setChecked(settings->value("Midi/SendSysEx",1).toInt());
+ settings->setValue("Midi/WaitVoice",settings->value("Midi/WaitVoice",1));
+ ui->cbWaitVoice->setChecked(settings->value("Midi/WaitVoice",1).toInt());
+
int selected=-1;
for(int i=0;i<ui->cbEncoding->count();++i)
if(ui->cbEncoding->itemText(i)==settings->value("Midi/TextEncoding","Unicode").toString())
@@ -171,6 +174,8 @@ void qmpSettingsWindow::settingsUpdate()
settings->setValue("Midi/SendSysEx",ui->cbSendSysx->isChecked()?1:0);
+ settings->setValue("Midi/WaitVoice",ui->cbWaitVoice->isChecked()?1:0);
+
settings->setValue("Midi/TextEncoding",ui->cbEncoding->currentText());
settings->setValue("Audio/Driver",ui->cbAudioDrv->currentText());