Skip to content

Commit 927cd95

Browse files
author
rblazek
committed
viewOutput bug fix
git-svn-id: http://svn.osgeo.org/qgis/trunk@5854 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 5337195 commit 927cd95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plugins/grass/qgsgrassmodule.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1358,10 +1358,10 @@ void QgsGrassModule::viewOutput()
13581358
QString uri = QgsGrass::getDefaultGisdbase() + "/"
13591359
+ QgsGrass::getDefaultLocation() + "/"
13601360
+ QgsGrass::getDefaultMapset() + "/"
1361-
+ map + "/" + layers[i];
1361+
+ map + "/" + layers[j];
13621362

13631363
// TODO vector layer name
1364-
mIface->addVectorLayer( uri, layers[i], "grass");
1364+
mIface->addVectorLayer( uri, layers[j], "grass");
13651365
}
13661366
}
13671367

0 commit comments

Comments
 (0)