Skip to content

Commit

Permalink
Fix inconsistent margin color in python code editors
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 5, 2020
1 parent 38a7b46 commit 3aef8ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/qgscodeeditor.cpp
Expand Up @@ -240,6 +240,8 @@ void QgsCodeEditor::setMarginVisible( bool margin )
setMarginLineNumbers( 1, true );
setMarginsFont( marginFont );
setMarginWidth( 1, QStringLiteral( "00000" ) );
setMarginsForegroundColor( lexerColor( ColorRole::MarginForeground ) );
setMarginsBackgroundColor( lexerColor( ColorRole::MarginBackground ) );
}
else
{
Expand Down

0 comments on commit 3aef8ec

Please sign in to comment.