Skip to content

Commit

Permalink
[ux] Fix labeling small font size freeze
Browse files Browse the repository at this point in the history
Also tested with linestring.

Fix #57336
  • Loading branch information
elpaso committed May 24, 2024
1 parent 0c41c22 commit 5d1b26b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/gui/qgstextformatwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1294,8 +1294,11 @@ void QgsTextFormatWidget::updateFont( const QFont &font )
// NOTE: QgsFontUtils::fontMatchOnSystem may fail here, just crosscheck family
mFontMissingLabel->setVisible( !QgsFontUtils::fontFamilyMatchOnSystem( mRefFont.family() ) );

mDirectSymbLeftLineEdit->setFont( mRefFont );
mDirectSymbRightLineEdit->setFont( mRefFont );
if ( mDirectSymbolsFrame->isVisible() )
{
mDirectSymbLeftLineEdit->setFont( mRefFont );
mDirectSymbRightLineEdit->setFont( mRefFont );
}

blockFontChangeSignals( true );
mFontFamilyCmbBx->setCurrentFont( mRefFont );
Expand Down

0 comments on commit 5d1b26b

Please sign in to comment.