Skip to content
Permalink
Browse files

connect to qgis interface

git-svn-id: http://svn.osgeo.org/qgis/trunk@5117 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek
rblazek committed Mar 30, 2006
1 parent 490e163 commit f65acbc2ebd49d0e712e26eb3dfb8abff7707720
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/plugins/grass/qgsgrassplugin.cpp
@@ -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

0 comments on commit f65acbc

Please sign in to comment.
You can’t perform that action at this time.