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 Nov 14, 2017
1 parent 3ba2254 commit 30eec2b3923a8fa6f9e3ce3d01301e7f58b85469
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/qgsrelationeditorwidget.cpp
@@ -220,8 +220,8 @@ void QgsRelationEditorWidget::setRelations( const QgsRelation &relation, const Q

if ( mNmRelation.isValid() )
{
connect( mNmRelation.referencingLayer(), &QgsVectorLayer::editingStarted, this, &QgsRelationEditorWidget::updateButtons );
connect( mNmRelation.referencingLayer(), &QgsVectorLayer::editingStopped, this, &QgsRelationEditorWidget::updateButtons );
connect( mNmRelation.referencedLayer(), &QgsVectorLayer::editingStarted, this, &QgsRelationEditorWidget::updateButtons );
connect( mNmRelation.referencedLayer(), &QgsVectorLayer::editingStopped, this, &QgsRelationEditorWidget::updateButtons );
}

setTitle( relation.name() );

0 comments on commit 30eec2b

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