mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-18 00:03:05 -04:00
[Geometry snapper] Trigger repaint instead of explicit refresh
This commit is contained in:
parent
087ec08b9c
commit
332e1d40b7
@ -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() )
|
||||
|
Loading…
x
Reference in New Issue
Block a user