Skip to content
Permalink
Browse files

Avoid crash when relation disappears (#7624)

  • Loading branch information
m-kuhn authored and 3nids committed Aug 15, 2018
1 parent 24bc213 commit c4eb57d0c6fda72fcf636e23732e65ddcfd6fea2
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/gui/editorwidgets/qgsrelationwidgetwrapper.cpp
@@ -48,6 +48,9 @@ void QgsRelationWidgetWrapper::setVisible( bool visible )

void QgsRelationWidgetWrapper::aboutToSave()
{
if ( !mRelation.isValid() )
return;

// Calling isModified() will emit a beforeModifiedCheck()
// signal that will make the embedded form to send any
// outstanding widget changes to the edit buffer

0 comments on commit c4eb57d

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