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@13159 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek
rblazek committed Mar 25, 2010
1 parent be05a75 commit 67d41d0241fa681a6f166595e987a9213b77681e
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 67d41d0

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