Skip to content
Permalink
Browse files

Fix inconsistent margin color in python code editors

  • Loading branch information
nyalldawson committed Oct 5, 2020
1 parent 38a7b46 commit 3aef8ec21960f056e403b7b0c505b8149f9fc2a3
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/gui/qgscodeeditor.cpp
@@ -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
{

0 comments on commit 3aef8ec

Please sign in to comment.
You can’t perform that action at this time.