Skip to content
Permalink
Browse files
Fix crash when opening form with joined attributes
Fixes #44768
  • Loading branch information
nyalldawson committed Aug 23, 2021
1 parent cfc72ca commit 8770d178f70e24d4326ca78ae43ed037d0067c5c
@@ -288,5 +288,6 @@ bool QgsEditorWidgetWrapper::isInTable( const QWidget *parent )

void QgsEditorWidgetWrapper::setHint( const QString &hintText )
{
widget()->setToolTip( hintText );
if ( QWidget *w = widget() )
w->setToolTip( hintText );
}
@@ -372,5 +372,6 @@ void QgsTextEditWrapper::setHint( const QString &hintText )
mPlaceholderText = hintText;
}

mLineEdit->setPlaceholderText( mPlaceholderText );
if ( mLineEdit )
mLineEdit->setPlaceholderText( mPlaceholderText );
}

0 comments on commit 8770d17

Please sign in to comment.