Skip to content
Permalink
Browse files

Fix subform for relations are not shown

Followup 3fd3dae
Fix #14515
  • Loading branch information
m-kuhn committed Mar 17, 2016
1 parent 9e6866e commit adc811ca98b0b72c9db5dd151fe3668d439040ec
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/editorwidgets/qgsrelationwidgetwrapper.cpp
@@ -66,7 +66,7 @@ void QgsRelationWidgetWrapper::initWidget( QWidget* editor )
do
{
if (( ctx->relation().name() == mRelation.name() && ctx->formMode() == QgsAttributeEditorContext::Embed )
|| ctx->relation().name() == nmrel.name() )
|| ( nmrel.isValid() && ctx->relation().name() == nmrel.name() ) )
{
w->setVisible( false );
break;

0 comments on commit adc811c

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