fix #7353 in case the snapping dialog is not docked

This commit is contained in:
Juergen E. Fischer 2013-06-03 17:31:38 +02:00
parent d4945db811
commit 3a33ceb256

View File

@ -297,11 +297,12 @@ void QgsSnappingDialog::addLayer( QgsMapLayer *theMapLayer )
{
connect( cbxAvoidIntersection, SIGNAL( stateChanged( int ) ), this, SLOT( apply() ) );
}
cbxEnable->setChecked( defaultSnappingString != "off" );
setTopologicalEditingState();
setIntersectionSnappingState();
}
cbxEnable->setChecked( defaultSnappingString != "off" );
// no settings for this layer yet
return;
}