Skip to content
Permalink
Browse files

only when mNmRelation valid

  • Loading branch information
signedav committed Sep 17, 2018
1 parent 4433485 commit 8766216401ccb3c87fb66fe41efdac3cfbf25739
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/editorwidgets/qgsrelationwidgetwrapper.cpp
@@ -55,7 +55,7 @@ void QgsRelationWidgetWrapper::aboutToSave()
do
{
if ( ctx->relation().isValid() && ( ctx->relation().referencedLayer()->name() == mRelation.referencingLayer()->name()
|| ctx->relation().referencedLayer()->name() == mNmRelation.referencedLayer()->name() )
|| ( mNmRelation.isValid() && ctx->relation().referencedLayer()->name() == mNmRelation.referencedLayer()->name() ) )
)
{
return;

0 comments on commit 8766216

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