mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-20 09:17:23 +01:00
Substitute Escher app() by Container::activeApp()
This commit is contained in:
committed by
EmilieNumworks
parent
1a2a651f36
commit
44809f4b3f
@@ -137,12 +137,12 @@ void StackViewController::setupActiveViewController() {
|
||||
m_view.setContentView(vc->view());
|
||||
vc->viewWillAppear();
|
||||
vc->setParentResponder(this);
|
||||
app()->setFirstResponder(vc);
|
||||
Container::activeApp()->setFirstResponder(vc);
|
||||
}
|
||||
|
||||
void StackViewController::didBecomeFirstResponder() {
|
||||
ViewController * vc = m_childrenFrame[m_numberOfChildren-1].viewController();
|
||||
app()->setFirstResponder(vc);
|
||||
Container::activeApp()->setFirstResponder(vc);
|
||||
}
|
||||
|
||||
bool StackViewController::handleEvent(Ion::Events::Event event) {
|
||||
|
||||
Reference in New Issue
Block a user