[Fix] Select last app with incomplete row in home

This commit is contained in:
Joachim LF
2021-02-06 09:28:56 +01:00
parent 859976423f
commit 61a015b6f1

View File

@@ -234,7 +234,7 @@ void Controller::tableViewDidChangeSelection(SelectableTableView * t, int previo
* (so the previous one is always visible). */
int appIndex = (t->selectedColumn()+t->selectedRow()*k_numberOfColumns)+1;
if (appIndex >= this->numberOfIcons()+1) {
t->selectCellAtLocation(previousSelectedCellX, previousSelectedCellY);
t->selectCellAtLocation((this->numberOfIcons()%3)-1, (this->numberOfIcons() / k_numberOfColumns));
}
}