- fix: The option "Open CPU info dialog when signal received" can't be correctly set in the options dialog's debugger page.

This commit is contained in:
Roy Qu 2023-03-21 17:11:12 +08:00
parent b951ac6636
commit cdcf525157
1 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,7 @@ void DebugGeneralWidget::doSave()
pSettings->debugger().setFontSize(ui->sbFontSize->value()); pSettings->debugger().setFontSize(ui->sbFontSize->value());
pSettings->debugger().setEnableDebugConsole(ui->grpEnableDebugConsole->isChecked()); pSettings->debugger().setEnableDebugConsole(ui->grpEnableDebugConsole->isChecked());
pSettings->debugger().setShowDetailLog(ui->chkShowDetailLog->isChecked()); pSettings->debugger().setShowDetailLog(ui->chkShowDetailLog->isChecked());
pSettings->debugger().setOpenCPUInfoWhenSignaled(ui->chkShowCPUWhenSignaled); pSettings->debugger().setOpenCPUInfoWhenSignaled(ui->chkShowCPUWhenSignaled->isChecked());
pSettings->debugger().setUseIntelStyle(ui->rbIntel->isChecked()); pSettings->debugger().setUseIntelStyle(ui->rbIntel->isChecked());
pSettings->debugger().setBlendMode(ui->chkBlendMode->isChecked()); pSettings->debugger().setBlendMode(ui->chkBlendMode->isChecked());
pSettings->debugger().setSkipSystemLibraries(ui->chkSkipSystemLib->isChecked()); pSettings->debugger().setSkipSystemLibraries(ui->chkSkipSystemLib->isChecked());
@ -77,6 +77,7 @@ void DebugGeneralWidget::doSave()
pSettings->debugger().setUseGDBServer(ui->grpUseGDBServer->isChecked()); pSettings->debugger().setUseGDBServer(ui->grpUseGDBServer->isChecked());
#endif #endif
pSettings->debugger().setGDBServerPort(ui->spinGDBServerPort->value()); pSettings->debugger().setGDBServerPort(ui->spinGDBServerPort->value());
pSettings->debugger().setMemoryViewRows(ui->spinMemoryViewRows->value()); pSettings->debugger().setMemoryViewRows(ui->spinMemoryViewRows->value());
pSettings->debugger().setMemoryViewColumns(ui->spinMemoryViewColumns->value()); pSettings->debugger().setMemoryViewColumns(ui->spinMemoryViewColumns->value());
pSettings->debugger().setArrayElements(ui->spinArrayElements->value()); pSettings->debugger().setArrayElements(ui->spinArrayElements->value());