Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix #7353 in case the snapping dialog is not docked
  • Loading branch information
jef-n committed Jun 3, 2013
1 parent d4945db commit 3a33ceb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgssnappingdialog.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 3a33ceb

Please sign in to comment.