[apps/calculation] Correct bug: set the right cell first responder

Change-Id: Iafee70a6a3bcf59c60efb4575b044b19fa5c1db4
This commit is contained in:
Émilie Feral
2016-10-28 09:48:41 +02:00
parent 5133f75789
commit 00a0dd182f
3 changed files with 8 additions and 2 deletions

View File

@@ -55,6 +55,10 @@ bool SelectableTableView::selectCellAtLocation(int i, int j) {
return true;
}
TableViewCell * SelectableTableView::selectedCell() {
return cellAtLocation(m_selectedCellX, m_selectedCellY);
}
bool SelectableTableView::handleEvent(Ion::Events::Event event) {
switch (event) {
case Ion::Events::Event::DOWN_ARROW: