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 authored and alexbruy committed Feb 16, 2012
1 parent 7da2ef4 commit 3b96100
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/grass/qgsgrassmodule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 3b96100

Please sign in to comment.