[escher][apps/shared] In table view, when scrolling to a cell, check if

the table size has not decreased to adjust the offset

Change-Id: Ifd89ec2b51b2adb9ca860ce0b58f2b6e58b838a1
This commit is contained in:
Émilie Feral
2017-05-31 09:55:20 +02:00
parent 1d7d7f4ef1
commit 30d3ff16a8
3 changed files with 8 additions and 0 deletions

View File

@@ -92,6 +92,7 @@ bool StoreController::handleEvent(Ion::Events::Event event) {
}
m_store->deletePairAtIndex(selectedRow()-1);
selectableTableView()->reloadData();
selectableTableView()->selectCellAtLocation(selectedColumn(), selectedRow());
return true;
}
return false;