- fix: All color scheme names are incorrectly displayed as bold, if the current one is a customed one.

This commit is contained in:
Roy Qu 2024-05-30 18:52:06 +08:00
parent 7ab49d7123
commit 3728cbed5e
1 changed files with 1 additions and 0 deletions

View File

@ -325,6 +325,7 @@ void EditorColorSchemeWidget::changeSchemeComboFont()
void EditorColorSchemeWidget::doLoad() void EditorColorSchemeWidget::doLoad()
{ {
ui->cbScheme->setCurrentText(pSettings->editor().colorScheme()); ui->cbScheme->setCurrentText(pSettings->editor().colorScheme());
changeSchemeComboFont();
ui->chkRainborParenthesis->setChecked(pSettings->editor().rainbowParenthesis()); ui->chkRainborParenthesis->setChecked(pSettings->editor().rainbowParenthesis());
} }