mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps] Remove wrong withinTemporarySelection escape cases
Scenario: Sequence app, add new sequence, go on its name, backspace: the cell on the left of Add new sequence is selected, but it should not
This commit is contained in:
@@ -218,7 +218,7 @@ void FunctionListController::tableViewDidChangeSelection(SelectableTableView * t
|
||||
// Update memoization of cell heights
|
||||
ExpressionModelListController::tableViewDidChangeSelection(t, previousSelectedCellX, previousSelectedCellY, withinTemporarySelection);
|
||||
// Do not select the cell left of the "addEmptyFunction" cell
|
||||
if (!withinTemporarySelection && isAddEmptyRow(selectedRow()) && selectedColumn() == 0) {
|
||||
if (isAddEmptyRow(selectedRow()) && selectedColumn() == 0) {
|
||||
t->selectCellAtLocation(1, numberOfRows()-1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user