mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
fix layerModified signal mapping
This commit is contained in:
parent
9bed789f2e
commit
8c89c2a058
@ -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() ) );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user