- fix: "Timeout for problem case" can't be rechecked, in the Settings Dialog -> executor -> problem set panel.

This commit is contained in:
Roy Qu 2022-07-22 11:34:45 +08:00
parent 17eb0c1f94
commit 2f8988cf91
2 changed files with 3 additions and 1 deletions

View File

@ -9,6 +9,7 @@ Red Panda C++ Version 1.1.5
- change: add Selection menu - change: add Selection menu
- enhancement: add memory view rows/columns settings in the settings dialog -> debugger -> general panel - enhancement: add memory view rows/columns settings in the settings dialog -> debugger -> general panel
- enhancement: add "Go to Line..." in the Code menu - enhancement: add "Go to Line..." in the Code menu
- fix: "Timeout for problem case" can't be rechecked, in the Settings Dialog -> executor -> problem set panel.
Red Panda C++ Version 1.1.4 Red Panda C++ Version 1.1.4

View File

@ -41,7 +41,8 @@ void ExecutorProblemSetWidget::doLoad()
ui->cbFont->setCurrentFont(QFont(pSettings->executor().caseEditorFontName())); ui->cbFont->setCurrentFont(QFont(pSettings->executor().caseEditorFontName()));
ui->spinFontSize->setValue(pSettings->executor().caseEditorFontSize()); ui->spinFontSize->setValue(pSettings->executor().caseEditorFontSize());
ui->chkOnlyMonospaced->setChecked(pSettings->executor().caseEditorFontOnlyMonospaced()); ui->chkOnlyMonospaced->setChecked(pSettings->executor().caseEditorFontOnlyMonospaced());
ui->grpEnableTimeout->setEnabled(pSettings->executor().enableCaseTimeout()); ui->grpEnableTimeout->setChecked(pSettings->executor().enableCaseTimeout());
ui->spinCaseTimeout->setValue(pSettings->executor().caseTimeout()); ui->spinCaseTimeout->setValue(pSettings->executor().caseTimeout());
} }