Skip to content

Commit

Permalink
Update buttons on referenced layer edit state change in N:M
Browse files Browse the repository at this point in the history
Fix #16635
  • Loading branch information
m-kuhn committed May 31, 2017
1 parent 93624b0 commit 1318518
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgsrelationeditorwidget.cpp
Expand Up @@ -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() );
Expand Down

0 comments on commit 1318518

Please sign in to comment.