Skip to content
Permalink
Browse files
fix layerModified signal mapping
  • Loading branch information
etiennesky committed Jan 28, 2013
1 parent 9bed789 commit 8c89c2a058bc7d110a0d4aadcf868883ea0bc6a7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -7117,7 +7117,7 @@ void QgisApp::layersWereAdded( QList<QgsMapLayer *> theLayers )
QgsVectorDataProvider* vProvider = vlayer->dataProvider();
if ( vProvider && vProvider->capabilities() & QgsVectorDataProvider::EditingCapabilities )
{
connect( vlayer, SIGNAL( layerModified( bool ) ), this, SLOT( updateLayerModifiedActions() ) );
connect( vlayer, SIGNAL( layerModified() ), this, SLOT( updateLayerModifiedActions() ) );
connect( vlayer, SIGNAL( editingStarted() ), this, SLOT( layerEditStateChanged() ) );
connect( vlayer, SIGNAL( editingStopped() ), this, SLOT( layerEditStateChanged() ) );
}

0 comments on commit 8c89c2a

Please sign in to comment.