Skip to content

Commit

Permalink
connect to qgis interface
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@5117 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Mar 30, 2006
1 parent 490e163 commit f65acbc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/plugins/grass/qgsgrassplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,7 @@ void QgsGrassPlugin::initGui()
connect( mCanvas, SIGNAL(renderComplete(QPainter *)), this, SLOT(postRender(QPainter *)));

setEditAction();
//connect ( qGisInterface, SIGNAL(currentLayerChanged(QgsMapLayer *)),
// this, SLOT(setEditAction()) );
connect ( mQgis->legend(), SIGNAL(currentLayerChanged(QgsMapLayer *)),
connect ( qGisInterface, SIGNAL(currentLayerChanged(QgsMapLayer *)),
this, SLOT(setEditAction()) );

// Init Region symbology
Expand Down

0 comments on commit f65acbc

Please sign in to comment.