Followup 8a0e1ef

This commit is contained in:
Nyall Dawson 2014-10-07 22:02:15 +11:00
parent 2dbe2da7e3
commit 1b997802b5

2
src/gui/qgscolorswatchgrid.cpp Normal file → Executable file
View File

@ -308,7 +308,7 @@ void QgsColorSwatchGrid::draw( QPainter &painter )
{
painter.setPen( highlight );
}
else if (( *colorIt ).first == mBaseColor )
else if (( *colorIt ).first.name() == mBaseColor.name() )
{
//currently active color
painter.setPen( QColor( 75, 75, 75 ) );