Skip to content

Commit

Permalink
fix highlight showing when hidden (#5278)
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Oct 3, 2017
1 parent da4cfd5 commit 22d4d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgshighlight.cpp
Expand Up @@ -256,7 +256,7 @@ void QgsHighlight::paintPolygon( QPainter *p, QgsPolygon polygon )

void QgsHighlight::updatePosition()
{
updateRect();
if ( isVisible() ) updateRect();

This comment has been minimized.

Copy link
@m-kuhn

m-kuhn Oct 3, 2017

Member

Can you make a newline between? Thanks :)

}

void QgsHighlight::paint( QPainter *p )
Expand Down

0 comments on commit 22d4d22

Please sign in to comment.