Skip to content

Commit

Permalink
Fix font in CSS code editor
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 16, 2020
1 parent 75c8678 commit 63cb42c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgscodeeditorcss.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ QgsCodeEditorCSS::QgsCodeEditorCSS( QWidget *parent )
void QgsCodeEditorCSS::setSciLexerCSS()
{
QsciLexerCSS *lexer = new QsciLexerCSS( this );
lexer->setDefaultFont( QFont( QStringLiteral( "Sans" ), 10 ) );
lexer->setDefaultFont( getMonospaceFont() );

setLexer( lexer );
}

0 comments on commit 63cb42c

Please sign in to comment.