mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
Substitute Escher app() by Container::activeApp()
This commit is contained in:
committed by
EmilieNumworks
parent
1a2a651f36
commit
44809f4b3f
@@ -144,7 +144,7 @@ double ParametersController::parameterAtIndex(int index) {
|
||||
|
||||
bool ParametersController::setParameterAtIndex(int parameterIndex, double f) {
|
||||
if (!m_law->authorizedValueAtIndex(f, parameterIndex)) {
|
||||
app()->displayWarning(I18n::Message::ForbiddenValue);
|
||||
Container::activeApp()->displayWarning(I18n::Message::ForbiddenValue);
|
||||
return false;
|
||||
}
|
||||
m_law->setParameterAtIndex(f, parameterIndex);
|
||||
|
||||
Reference in New Issue
Block a user