Skip to content
Permalink
Browse files

Update buttons on referenced layer edit state change in N:M

Fix #16635
  • Loading branch information
m-kuhn committed May 31, 2017
1 parent 93624b0 commit 1318518ff3adabc17038c68c1a429e702737d4b0
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/qgsrelationeditorwidget.cpp
@@ -208,8 +208,8 @@ void QgsRelationEditorWidget::setRelations( const QgsRelation& relation, const Q

if ( mNmRelation.isValid() )
{
connect( mNmRelation.referencingLayer(), SIGNAL( editingStarted() ), this, SLOT( updateButtons() ) );
connect( mNmRelation.referencingLayer(), SIGNAL( editingStopped() ), this, SLOT( updateButtons() ) );
connect( mNmRelation.referencedLayer(), SIGNAL( editingStarted() ), this, SLOT( updateButtons() ) );
connect( mNmRelation.referencedLayer(), SIGNAL( editingStopped() ), this, SLOT( updateButtons() ) );
}

setTitle( relation.name() );

0 comments on commit 1318518

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