summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-18 13:39:19 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-18 13:39:19 -0700
commit05109b2d6c7e8ef816b1290c583492dec78b3f07 (patch)
treec19e19577ee7d49eab55e2982151dbfcc90ba40e
parentbd4629b293e165c9fb8ba0c83ed1ff5016d2da94 (diff)
downloadsubsurface-05109b2d6c7e8ef816b1290c583492dec78b3f07.tar.gz
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 <dirk@hohndel.org>
-rw-r--r--qt-ui/locationinformation.cpp2
1 files changed, 1 insertions, 1 deletions
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;