Make sure we don't pass the wrong info

We were returning false here which meant that we were
overriding the information with the wrong value later.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2015-07-17 14:08:01 -03:00 committed by Dirk Hohndel
parent 392973dbe4
commit 76e61bd8d9

View file

@ -242,8 +242,9 @@ bool LocationManagementEditHelper::eventFilter(QObject *obj, QEvent *ev)
QKeyEvent *keyEv = (QKeyEvent*) ev;
if(keyEv->key() == Qt::Key_Space || keyEv->key() == Qt::Key_Return) {
handleActivation(view->currentIndex());
view->hide();
return true;
}
}
return false;
}