Skip to content

Commit

Permalink
invert back toggle editing button in relation editor widget (fixes #1…
Browse files Browse the repository at this point in the history
…1524,

followup b1a2bef)
  • Loading branch information
jef-n committed Oct 31, 2014
1 parent 74167c0 commit 48af543
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgsrelationeditorwidget.cpp
Expand Up @@ -249,11 +249,11 @@ void QgsRelationEditorWidget::toggleEditing( bool state )
{
if ( state )
{
mEditorContext.vectorLayerTools()->stopEditing( mRelation.referencingLayer() );
mEditorContext.vectorLayerTools()->startEditing( mRelation.referencingLayer() );
}
else
{
mEditorContext.vectorLayerTools()->startEditing( mRelation.referencingLayer() );
mEditorContext.vectorLayerTools()->stopEditing( mRelation.referencingLayer() );
}
}

Expand Down

0 comments on commit 48af543

Please sign in to comment.