mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-26 17:20:53 +01:00
[apps/sequence] Do no add a new function as long as the user did not
choose a type Change-Id: I67c3172b416d7d80a3bd9a4eb18091ab72626e4b
This commit is contained in:
@@ -50,7 +50,9 @@ bool ListController::handleEnter() {
|
||||
{
|
||||
if (m_functionStore->numberOfFunctions() < m_functionStore->maxNumberOfFunctions() &&
|
||||
m_selectableTableView.selectedRow() == numberOfRows() - 1) {
|
||||
return addFunction();
|
||||
m_functionStore->addEmptyFunction();
|
||||
m_selectableTableView.reloadData();
|
||||
return true;
|
||||
}
|
||||
FunctionExpressionCell * functionCell = (FunctionExpressionCell *)(m_selectableTableView.cellAtLocation(m_selectableTableView.selectedColumn(), m_selectableTableView.selectedRow()));
|
||||
editExpression(functionCell, Ion::Events::OK);
|
||||
|
||||
Reference in New Issue
Block a user