mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-28 18:20:14 +01:00
[apps/*/expression_model_list_controller] Use isAddEmptyRow
This commit is contained in:
committed by
LeaNumworks
parent
d8ec5ab2b3
commit
a5bff416d1
@@ -40,8 +40,7 @@ int ListController::numberOfExpressionRows() const {
|
||||
|
||||
KDCoordinate ListController::expressionRowHeight(int j) {
|
||||
KDCoordinate defaultHeight = Metric::StoreRowHeight;
|
||||
if (modelStore()->numberOfModels() < modelStore()->maxNumberOfModels() && j == numberOfRows() - 1) {
|
||||
// Add sequence row
|
||||
if (isAddEmptyRow(j)) {
|
||||
return defaultHeight;
|
||||
}
|
||||
Sequence * sequence = modelStore()->modelForRecord(modelStore()->recordAtIndex(modelIndexForRow(j)));
|
||||
|
||||
Reference in New Issue
Block a user