Skip to content
Permalink
Browse files
disabled Vect_close if map cannot be opened on level2 on win to test …
…ticket 2003

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13159 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Mar 25, 2010
1 parent 26810a3 commit 394507af9b242891f98d84e6c0bc8fba91af690b
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/plugins/grass/qgsgrassselect.cpp
@@ -413,7 +413,12 @@ QStringList QgsGrassSelect::vectorLayers( QString gisdbase,
{
QgsDebugMsg( "Cannot open vector on level 2" );
QMessageBox::warning( 0, tr( "Warning" ), tr( "Cannot open vector %1 in mapset %2 on level 2 (topology not available, try to rebuild topology using v.build module)." ).arg( mapName ).arg( mapset ) );
// Vect_close here is correct, it should work, but it seems to cause
// crash on win http://trac.osgeo.org/qgis/ticket/2003
// disabled on win test it
#if !defined(WIN32)
Vect_close( &map );
#endif
return list;
}
else if ( level < 1 )

0 comments on commit 394507a

Please sign in to comment.