We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent abf7b0a commit 2061da4Copy full SHA for 2061da4
src/plugins/grass/qgsgrassmodule.cpp
@@ -1499,13 +1499,9 @@ void QgsGrassModule::viewOutput()
1499
if ( onlyLayer1 && layers[j].left( 1 ) != "1" )
1500
continue;
1501
1502
- QStringList split = uri.split( '/', QString::SkipEmptyParts );
1503
- QString layer = split.last();
1504
-
1505
QString name = QgsGrassUtils::vectorLayerName(
1506
- map, layer, 1 );
1507
1508
- // TODO vector layer name
+ map, layers[j], 1 );
+
1509
mIface->addVectorLayer( uri, name, "grass" );
1510
}
1511
0 commit comments