Skip to content

Commit

Permalink
Make QgsRubberBand fillColor a Q_PROPERTY
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Oct 15, 2018
1 parent 4607930 commit d8c4473
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/qgsrubberband.cpp
Expand Up @@ -51,6 +51,9 @@ void QgsRubberBand::setColor( const QColor &color )

void QgsRubberBand::setFillColor( const QColor &color )
{
if ( mBrush.color() == color )
return;

mBrush.setColor( color );
}

Expand Down

0 comments on commit d8c4473

Please sign in to comment.