mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Followup 8a0e1ef
This commit is contained in:
parent
2dbe2da7e3
commit
1b997802b5
2
src/gui/qgscolorswatchgrid.cpp
Normal file → Executable file
2
src/gui/qgscolorswatchgrid.cpp
Normal file → Executable 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 ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user