mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-08 00:02:35 -05:00
fix #7353 in case the snapping dialog is not docked
This commit is contained in:
parent
d4945db811
commit
3a33ceb256
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user