Skip to content

Commit

Permalink
Fix #9551 (Impossible to see selection or current identify feature if…
Browse files Browse the repository at this point in the history
… using data defined colours)
  • Loading branch information
wonder-sk committed Feb 13, 2014
1 parent 3215f49 commit 8f82975
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/qgshighlight.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ void QgsHighlight::setSymbolColor( QgsSymbolV2* symbol, const QColor & color )
symbolLayer->setColor( color ); // line symbology layers
symbolLayer->setOutlineColor( color ); // marker and fill symbology layers
symbolLayer->setFillColor( mTemporaryFillColor ); // marker and fill symbology layers

symbolLayer->removeDataDefinedProperty( "color" );
symbolLayer->removeDataDefinedProperty( "color_border" );
}
}
}
Expand Down

0 comments on commit 8f82975

Please sign in to comment.