Skip to content

Commit

Permalink
fix #4465 to make the GRASS plugin working with GRASS 6.4.2RC2
Browse files Browse the repository at this point in the history
  • Loading branch information
brushtyler committed Nov 17, 2011
1 parent 0a17ad5 commit a9f82d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/grass/qgsgrassmodule.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit a9f82d1

Please sign in to comment.