Commit ea278cdf authored by Finn Brudal's avatar Finn Brudal
Browse files

TextEditor: Fixes crash when double clicking virtual function proposal



Ensures that the DeferredDelete event is posted from the outermost
loop level.

Change-Id: Ib74d49d35811f35659ef272d6f0e0a4508f93076
Reviewed-by: default avatarDavid Schulz <david.schulz@theqtcompany.com>
parent 133b50ed
......@@ -440,9 +440,9 @@ void GenericProposalWidget::notifyActivation(int index)
void GenericProposalWidget::abort()
{
deleteLater();
if (isVisible())
close();
deleteLater();
}
bool GenericProposalWidget::updateAndCheck(const QString &prefix)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment