Skip to content
Permalink
Browse files
fix #4465 to make the GRASS plugin working with GRASS 6.4.2RC2
  • Loading branch information
brushtyler committed Nov 17, 2011
1 parent 0a17ad5 commit a9f82d1e77cf5dc2c8ae380a14c70a847d5b278a
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/plugins/grass/qgsgrassmodule.cpp
@@ -2648,13 +2648,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 a9f82d1

Please sign in to comment.