From 05109b2d6c7e8ef816b1290c583492dec78b3f07 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 18 Jul 2015 13:39:19 -0700 Subject: Don't hide location completion when user types space Odd that I never noticed this until several people pointed it out to me. Signed-off-by: Dirk Hohndel --- qt-ui/locationinformation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt-ui/locationinformation.cpp b/qt-ui/locationinformation.cpp index db6816ea5..5d42468b9 100644 --- a/qt-ui/locationinformation.cpp +++ b/qt-ui/locationinformation.cpp @@ -240,7 +240,7 @@ bool LocationManagementEditHelper::eventFilter(QObject *obj, QEvent *ev) if(ev->type() == QEvent::KeyPress) { QKeyEvent *keyEv = (QKeyEvent*) ev; - if(keyEv->key() == Qt::Key_Space || keyEv->key() == Qt::Key_Return) { + if(keyEv->key() == Qt::Key_Return) { handleActivation(view->currentIndex()); view->hide(); return true; -- cgit v1.2.3-70-g09d2