Skip to content

Commit 069e8aa

Browse files
author
rblazek
committed
connect to qgis interface
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5117 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 30a73f6 commit 069e8aa

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/plugins/grass/qgsgrassplugin.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,7 @@ void QgsGrassPlugin::initGui()
224224
connect( mCanvas, SIGNAL(renderComplete(QPainter *)), this, SLOT(postRender(QPainter *)));
225225

226226
setEditAction();
227-
//connect ( qGisInterface, SIGNAL(currentLayerChanged(QgsMapLayer *)),
228-
// this, SLOT(setEditAction()) );
229-
connect ( mQgis->legend(), SIGNAL(currentLayerChanged(QgsMapLayer *)),
227+
connect ( qGisInterface, SIGNAL(currentLayerChanged(QgsMapLayer *)),
230228
this, SLOT(setEditAction()) );
231229

232230
// Init Region symbology

0 commit comments

Comments
 (0)