Skip to content
Permalink
Browse files

fix #7353 in case the snapping dialog is not docked

  • Loading branch information
jef-n committed Jun 3, 2013
1 parent d4945db commit 3a33ceb2565008ec5977cd6aa145133b35206aff
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/qgssnappingdialog.cpp
@@ -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;
}

0 comments on commit 3a33ceb

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