Skip to content
Permalink
Browse files
fix #4465 to make the GRASS plugin working with GRASS 6.4.2RC2
  • Loading branch information
brushtyler authored and alexbruy committed Feb 16, 2012
1 parent 7da2ef4 commit 3b961004d06aa3e838c9359dc6e044374ea530bb
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/plugins/grass/qgsgrassmodule.cpp
@@ -2589,13 +2589,13 @@ QStringList QgsGrassModuleInput::options()
}
}

if ( !mGeometryTypeOption.isNull() && current < mGeometryTypes.size() )
if ( !mGeometryTypeOption.isEmpty() && current < mGeometryTypes.size() )
{
opt = mGeometryTypeOption + "=" + mGeometryTypes[current] ;
list.push_back( opt );
}

if ( !mVectorLayerOption.isNull() && current < mVectorLayerNames.size() )
if ( !mVectorLayerOption.isEmpty() && current < mVectorLayerNames.size() )
{
opt = mVectorLayerOption + "=" + mVectorLayerNames[current] ;
list.push_back( opt );

0 comments on commit 3b96100

Please sign in to comment.