diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-07-18 13:39:19 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-18 13:39:19 -0700 |
commit | 05109b2d6c7e8ef816b1290c583492dec78b3f07 (patch) | |
tree | c19e19577ee7d49eab55e2982151dbfcc90ba40e | |
parent | bd4629b293e165c9fb8ba0c83ed1ff5016d2da94 (diff) | |
download | subsurface-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.cpp | 2 |
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; |