Skip to content
Permalink
Browse files
Fix crash when opening form with joined attributes
Fixes #44768
  • Loading branch information
nyalldawson authored and github-actions committed Aug 23, 2021
1 parent d61284b commit cb7cecff201231f73b78849f79b0dcbabc8877a1
@@ -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 cb7cecf

Please sign in to comment.