Skip to content

Commit 1b99780

Browse files
committed
Followup 8a0e1ef
1 parent 2dbe2da commit 1b99780

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/qgscolorswatchgrid.cpp

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ void QgsColorSwatchGrid::draw( QPainter &painter )
308308
{
309309
painter.setPen( highlight );
310310
}
311-
else if (( *colorIt ).first == mBaseColor )
311+
else if (( *colorIt ).first.name() == mBaseColor.name() )
312312
{
313313
//currently active color
314314
painter.setPen( QColor( 75, 75, 75 ) );

0 commit comments

Comments
 (0)