@@ -326,6 +326,7 @@ void MainWindow::settingsLoadAll()
326
326
ui->comboBoxLoggingMode ->setCurrentIndex (appSettings.value (" GUI_Elements/comboBoxLoggingMode.currentIndex" ).value <int >());
327
327
ui->comboBoxTextProcessing ->setCurrentIndex (appSettings.value (" GUI_Elements/comboBoxTextProcessing.currentIndex" ).value <int >());
328
328
ui->comboBoxClockSource ->setCurrentIndex (appSettings.value (" GUI_Elements/comboBoxClockSource.currentIndex" ).value <int >());
329
+ ui->comboBoxAddTextMode ->setCurrentIndex (appSettings.value (" GUI_Elements/comboBoxAddTextMode.currentIndex" ).value <int >());
329
330
330
331
ui->checkBoxDTR ->setChecked (appSettings.value (" GUI_Elements/checkBoxDTR.isChecked" ).value <bool >());
331
332
ui->checkBoxSendKey ->setChecked (appSettings.value (" GUI_Elements/checkBoxSendKey.isChecked" ).value <bool >());
@@ -345,6 +346,8 @@ void MainWindow::settingsLoadAll()
345
346
346
347
ui->tabWidgetControlSection ->setCurrentIndex (appSettings.value (" GUI_Elements/tabWidgetControlSection.currentIndex" ).value <int >());
347
348
349
+ ui->radioButtonScrollToButtom ->setChecked (appSettings.value (" GUI_Elements/radioButtonScrollToButtom.isChecked" ).value <bool >());
350
+
348
351
ui->lineEditCustomParsingRules ->setText (appSettings.value (" data/lineEditCustomParsingRules.text" ).value <QString>());
349
352
ui->lineEditUDPTargetIP ->setText (appSettings.value (" data/lineEditUDPTargetIP.text" ).value <QString>());
350
353
ui->lineEditSaveLogPath ->setText (appSettings.value (" data/lineEditSaveLogPath.text" ).value <QString>());
@@ -423,6 +426,7 @@ void MainWindow::settingsSaveAll()
423
426
appSettings.setValue (" GUI_Elements/comboBoxLoggingMode.currentIndex" , ui->comboBoxLoggingMode ->currentIndex ());
424
427
appSettings.setValue (" GUI_Elements/comboBoxTextProcessing.currentIndex" , ui->comboBoxTextProcessing ->currentIndex ());
425
428
appSettings.setValue (" GUI_Elements/comboBoxClockSource.currentIndex" , ui->comboBoxClockSource ->currentIndex ());
429
+ appSettings.setValue (" GUI_Elements/comboBoxAddTextMode.currentIndex" , ui->comboBoxAddTextMode ->currentIndex ());
426
430
427
431
appSettings.setValue (" GUI_Elements/checkBoxDTR.isChecked" , ui->checkBoxDTR ->isChecked ());
428
432
appSettings.setValue (" GUI_Elements/checkBoxSendKey.isChecked" , ui->checkBoxSendKey ->isChecked ());
@@ -442,6 +446,9 @@ void MainWindow::settingsSaveAll()
442
446
443
447
appSettings.setValue (" GUI_Elements/tabWidgetControlSection.currentIndex" , ui->tabWidgetControlSection ->currentIndex ());
444
448
449
+ appSettings.setValue (" GUI_Elements/radioButtonScrollToButtom.isChecked" , ui->radioButtonScrollToButtom ->isChecked ());
450
+
451
+
445
452
appSettings.setValue (" data/lineEditCustomParsingRules.text" , ui->lineEditCustomParsingRules ->text ());
446
453
appSettings.setValue (" data/lineEditUDPTargetIP.text" , ui->lineEditUDPTargetIP ->text ());
447
454
appSettings.setValue (" data/lineEditSaveLogPath.text" , ui->lineEditSaveLogPath ->text ());
@@ -2221,7 +2228,7 @@ void MainWindow::on_comboBoxAddTextMode_currentIndexChanged(int index)
2221
2228
if (index == 1 )
2222
2229
{
2223
2230
ui->radioButtonScrollToButtom ->setCheckable (false );
2224
- ui->radioButtonScrollToButtom ->setChecked (false );
2231
+ // ui->radioButtonScrollToButtom->setChecked(false);
2225
2232
}
2226
2233
else
2227
2234
{
0 commit comments