mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-22 23:30:37 +01:00
Substitute Escher app() by Container::activeApp()
This commit is contained in:
committed by
EmilieNumworks
parent
1a2a651f36
commit
44809f4b3f
@@ -42,7 +42,7 @@ void EquationModelsParameterController::viewWillAppear() {
|
||||
}
|
||||
|
||||
void EquationModelsParameterController::didBecomeFirstResponder() {
|
||||
app()->setFirstResponder(&m_selectableTableView);
|
||||
Container::activeApp()->setFirstResponder(&m_selectableTableView);
|
||||
}
|
||||
|
||||
bool EquationModelsParameterController::handleEvent(Ion::Events::Event event) {
|
||||
@@ -53,7 +53,7 @@ bool EquationModelsParameterController::handleEvent(Ion::Events::Event event) {
|
||||
}
|
||||
assert(error == Ion::Storage::Record::ErrorStatus::None);
|
||||
m_listController->editSelectedRecordWithText(k_models[selectedRow()]);
|
||||
app()->dismissModalViewController();
|
||||
Container::activeApp()->dismissModalViewController();
|
||||
m_listController->editExpression(Ion::Events::OK);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user