Skip to content

Commit 3a33ceb

Browse files
committed
fix #7353 in case the snapping dialog is not docked
1 parent d4945db commit 3a33ceb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/app/qgssnappingdialog.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,11 +297,12 @@ void QgsSnappingDialog::addLayer( QgsMapLayer *theMapLayer )
297297
{
298298
connect( cbxAvoidIntersection, SIGNAL( stateChanged( int ) ), this, SLOT( apply() ) );
299299
}
300-
cbxEnable->setChecked( defaultSnappingString != "off" );
301300
setTopologicalEditingState();
302301
setIntersectionSnappingState();
303302
}
304303

304+
cbxEnable->setChecked( defaultSnappingString != "off" );
305+
305306
// no settings for this layer yet
306307
return;
307308
}

0 commit comments

Comments
 (0)