We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1378fa4 commit dcf060aCopy full SHA for dcf060a
src/plugins/grass/qgsgrassmodule.cpp
@@ -2441,13 +2441,13 @@ QStringList QgsGrassModuleInput::options()
2441
// TODO: this is hack for network nodes, do it somehow better
2442
if ( mMapId.isEmpty() )
2443
{
2444
- opt = mKey + "=";
2445
-
2446
if ( current < mMaps.size() )
2447
2448
- opt.append( mMaps[current] );
+ if ( ! mMaps[current].isEmpty() )
+ {
+ list.push_back( mKey + "=" + mMaps[current] );
2449
+ }
2450
}
- list.push_back( opt );
2451
2452
2453
if ( !mGeometryTypeOption.isNull() && current < mGeometryTypes.size() )
0 commit comments