Skip to content

Commit

Permalink
fixed ticket 389 (new vector is not added to QGIS
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@6139 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Nov 28, 2006
1 parent 6a4a430 commit 56eab68
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/providers/grass/qgsgrassprovider.cpp
Expand Up @@ -1536,6 +1536,8 @@ bool QgsGrassProvider::closeEdit ( bool newMap )
{
std::cerr << "mLayers.size() = " << mLayers.size() << std::endl;
map->update = false;
// Map must be set as valid otherwise it is not closed and topo is not written
map->valid = true;
closeLayer( mLayerId );
return true;
}
Expand Down

0 comments on commit 56eab68

Please sign in to comment.