Skip to content

Commit

Permalink
[Geometry snapper] Trigger repaint instead of explicit refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Jul 14, 2016
1 parent 087ec08 commit 332e1d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/geometry_snapper/qgsgeometrysnapperdialog.cpp
Expand Up @@ -306,8 +306,8 @@ void QgsGeometrySnapperDialog::run()

layer->setReadOnly( false );

/** Refresh canvas **/
mIface->mapCanvas()->refresh();
/** Trigger layer repaint **/
layer->triggerRepaint();

/** Show errors **/
if ( !snapper.getErrors().isEmpty() )
Expand Down

0 comments on commit 332e1d4

Please sign in to comment.