Skip to content
Permalink
Browse files

Merge pull request #7709 from m-kuhn/fixRelations

Fix crash when relations would be recursively nested
  • Loading branch information
m-kuhn committed Aug 25, 2018
2 parents 0782c12 + 00a871a commit 990ddf7cbcef782d699ae5861545520ddfbd5a7e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/editorwidgets/qgsrelationwidgetwrapper.cpp
@@ -48,7 +48,7 @@ void QgsRelationWidgetWrapper::setVisible( bool visible )

void QgsRelationWidgetWrapper::aboutToSave()
{
if ( !mRelation.isValid() )
if ( !mRelation.isValid() || !widget() || !widget()->isVisible() )
return;

// Calling isModified() will emit a beforeModifiedCheck()

0 comments on commit 990ddf7

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