Skip to content
Permalink
Browse files

[Geometry snapper] Trigger repaint instead of explicit refresh

  • Loading branch information
manisandro committed Jul 14, 2016
1 parent 087ec08 commit 332e1d40b72ca2303ffaeb66eff163eaaac908fe
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/plugins/geometry_snapper/qgsgeometrysnapperdialog.cpp
@@ -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() )

0 comments on commit 332e1d4

Please sign in to comment.
You can’t perform that action at this time.