forked from qt-creator/qt-creator
Editor: fix crash in function hint widget
Fixes: QTCREATORBUG-26872 Change-Id: I0c79af2a74af96bfba350b62b5072b874e6efcd2 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -221,7 +221,7 @@ void FunctionHintProposalWidget::closeProposal()
|
||||
|
||||
bool FunctionHintProposalWidget::proposalIsVisible() const
|
||||
{
|
||||
return d->m_popupFrame->isVisible();
|
||||
return d->m_popupFrame && d->m_popupFrame->isVisible();
|
||||
}
|
||||
|
||||
void FunctionHintProposalWidget::abort()
|
||||
|
Reference in New Issue
Block a user