Close variable chooser when pressing escape.

Even if the variable chooser currently doesn't have focus.

Task-number: QTCREATORBUG-7155
Change-Id: Ie3a7527e13dd6c3f37c1abe86a596753d2b8e286
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
This commit is contained in:
Eike Ziller
2012-12-20 15:34:42 +01:00
committed by Robert Loehning
parent ed69c5f9c9
commit cec327bd4a
2 changed files with 22 additions and 3 deletions

View File

@@ -58,6 +58,7 @@ public:
protected:
void keyPressEvent(QKeyEvent *ke);
bool eventFilter(QObject *, QEvent *event);
private slots:
void updateDescription(const QString &variable);