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 d61284b commit 27bd854b82e878c30d2b1661fce1c81beea7989c
@@ -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 27bd854

Please sign in to comment.