Skip to content
Permalink
Browse files

editor widgets: avoid duplicate saving of edit types (fixes #13960)

TODO: resolve duplicate read via QgsProject::readMapLayer and
QgsVectorLayer::readCustomSymbology signals
  • Loading branch information
jef-n committed Feb 26, 2016
1 parent b89956e commit 9f87f4d0dd4b635ebd2062627041be1f15d74692
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/editorwidgets/core/qgseditorwidgetregistry.cpp
@@ -77,7 +77,7 @@ void QgsEditorWidgetRegistry::initEditors( QgsMapCanvas *mapCanvas, QgsMessageBa
QgsEditorWidgetRegistry::QgsEditorWidgetRegistry()
{
connect( QgsProject::instance(), SIGNAL( readMapLayer( QgsMapLayer*, const QDomElement& ) ), this, SLOT( readMapLayer( QgsMapLayer*, const QDomElement& ) ) );
connect( QgsProject::instance(), SIGNAL( writeMapLayer( QgsMapLayer*, QDomElement&, QDomDocument& ) ), this, SLOT( writeMapLayer( QgsMapLayer*, QDomElement&, QDomDocument& ) ) );
// connect( QgsProject::instance(), SIGNAL( writeMapLayer( QgsMapLayer*, QDomElement&, QDomDocument& ) ), this, SLOT( writeMapLayer( QgsMapLayer*, QDomElement&, QDomDocument& ) ) );

connect( QgsMapLayerRegistry::instance(), SIGNAL( layerWasAdded( QgsMapLayer* ) ), this, SLOT( mapLayerAdded( QgsMapLayer* ) ) );
}

0 comments on commit 9f87f4d

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