Skip to content

Commit

Permalink
Fix font size dialog (nickbnf#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
xhargh authored Oct 13, 2020
1 parent f993b96 commit 3446743
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ui/src/optionsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ void OptionsDialog::updateDialogFromConfig()
if ( familyIndex != -1 )
fontFamilyBox->setCurrentIndex( familyIndex );

updateFontSize(fontInfo.family());

int sizeIndex = fontSizeBox->findText( QString::number( fontInfo.pointSize() ) );
if ( sizeIndex != -1 )
fontSizeBox->setCurrentIndex( sizeIndex );
Expand Down

0 comments on commit 3446743

Please sign in to comment.