Skip to content
Permalink
Browse files

Indicate current color in color button swatch menus

  • Loading branch information
nyalldawson committed Oct 6, 2014
1 parent e8e6e32 commit 8a0e1ef44bc958ea596fb7962c575b43ad7ee448
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/gui/qgscolorswatchgrid.cpp
@@ -308,6 +308,11 @@ void QgsColorSwatchGrid::draw( QPainter &painter )
{
painter.setPen( highlight );
}
else if (( *colorIt ).first == mBaseColor )
{
//currently active color
painter.setPen( QColor( 75, 75, 75 ) );
}
else
{
painter.setPen( QColor( 197, 197, 197 ) );

0 comments on commit 8a0e1ef

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