Navigation Menu

Skip to content

Commit

Permalink
only when mNmRelation valid
Browse files Browse the repository at this point in the history
  • Loading branch information
signedav committed Sep 17, 2018
1 parent 4433485 commit 8766216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/editorwidgets/qgsrelationwidgetwrapper.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 8766216

Please sign in to comment.