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 ce9eef8 commit 754c9e8bce216d65eb5a3031b597452ab4e4af8f
@@ -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 754c9e8

Please sign in to comment.