mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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>
This commit is contained in:
parent
bd4629b293
commit
05109b2d6c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue