Skip to content
Permalink
Browse files

Invalidate the layer cache when rolling back so that it draws correct…

…ly afterwards

git-svn-id: http://svn.osgeo.org/qgis/trunk@11841 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux
timlinux committed Oct 25, 2009
1 parent 81be39a commit 238aa75046ce042102a9a768857a785ced61744a
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/qgsvectorlayer.cpp
@@ -3094,6 +3094,9 @@ bool QgsVectorLayer::rollBack()
emit editingStopped();

setModified( FALSE );
// invalidate teh cache so the layer updates properly to show its original
// after the rollback
setCacheImage( 0 );
triggerRepaint();


0 comments on commit 238aa75

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