Skip to content
Permalink
Browse files

invert back toggle editing button in relation editor widget (fixes #1…

…1524,

followup b1a2bef)
  • Loading branch information
jef-n committed Oct 31, 2014
1 parent 74167c0 commit 48af54316f49d10187e92be9343c57e0a06ef72e
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/qgsrelationeditorwidget.cpp
@@ -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() );
}
}

0 comments on commit 48af543

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