Skip to content
Permalink
Browse files

do not use empty input

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12914 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek
rblazek committed Feb 10, 2010
1 parent 41bd31e commit e1713f224fed1d219399f0bfa71daf5e41e06a28
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/plugins/grass/qgsgrassmodule.cpp
@@ -2441,13 +2441,13 @@ QStringList QgsGrassModuleInput::options()
// TODO: this is hack for network nodes, do it somehow better
if ( mMapId.isEmpty() )
{
opt = mKey + "=";

if ( current < mMaps.size() )
{
opt.append( mMaps[current] );
if ( ! mMaps[current].isEmpty() )
{
list.push_back( mKey + "=" + mMaps[current] );
}
}
list.push_back( opt );
}

if ( !mGeometryTypeOption.isNull() && current < mGeometryTypes.size() )

0 comments on commit e1713f2

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