mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-29 19:49:58 +02:00
[apps] Sequence: when setting a next first term index, forbid negative
index
This commit is contained in:
committed by
EmilieNumworks
parent
56c6c17b57
commit
479d86a38e
@@ -131,6 +131,7 @@ bool ListParameterController::textFieldDidFinishEditing(TextField * textField, c
|
||||
}
|
||||
if (index < 0) {
|
||||
app()->displayWarning(I18n::Message::ForbiddenValue);
|
||||
return false;
|
||||
}
|
||||
m_sequence->setInitialRank(index);
|
||||
// Invalidate sequence context cache when changing sequence type
|
||||
|
||||
Reference in New Issue
Block a user