Skip to content

Commit 48af543

Browse files
committedOct 31, 2014
invert back toggle editing button in relation editor widget (fixes #11524,
followup b1a2bef)
1 parent 74167c0 commit 48af543

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/gui/qgsrelationeditorwidget.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,11 +249,11 @@ void QgsRelationEditorWidget::toggleEditing( bool state )
249249
{
250250
if ( state )
251251
{
252-
mEditorContext.vectorLayerTools()->stopEditing( mRelation.referencingLayer() );
252+
mEditorContext.vectorLayerTools()->startEditing( mRelation.referencingLayer() );
253253
}
254254
else
255255
{
256-
mEditorContext.vectorLayerTools()->startEditing( mRelation.referencingLayer() );
256+
mEditorContext.vectorLayerTools()->stopEditing( mRelation.referencingLayer() );
257257
}
258258
}
259259

0 commit comments

Comments
 (0)