From ec0d44fc3b23a549ad41d3db37b1d01f66474537 Mon Sep 17 00:00:00 2001
From: Erik Verbruggen <erik.verbruggen@nokia.com>
Date: Mon, 31 May 2010 11:03:59 +0200
Subject: [PATCH] Remove snippet tooltip when completion list looses focus.

Task-number: QTCREATORBUG-1425
Reviewed-by: Christian Kamm
---
 src/plugins/texteditor/completionwidget.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/plugins/texteditor/completionwidget.cpp b/src/plugins/texteditor/completionwidget.cpp
index 031ddbe39c6..b33c1e7e64d 100644
--- a/src/plugins/texteditor/completionwidget.cpp
+++ b/src/plugins/texteditor/completionwidget.cpp
@@ -334,6 +334,7 @@ bool CompletionListView::event(QEvent *e)
         }
 #endif
         m_completionWidget->closeList(index);
+        m_infoFrame->close();
         return true;
     } else if (e->type() == QEvent::ShortcutOverride) {
         QKeyEvent *ke = static_cast<QKeyEvent *>(e);
-- 
GitLab