mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-28 18:20:14 +01:00
Substitute Escher app() by Container::activeApp()
This commit is contained in:
committed by
EmilieNumworks
parent
1a2a651f36
commit
44809f4b3f
@@ -154,7 +154,7 @@ bool ButtonRowController::ContentView::setSelectedButton(int selectedButton) {
|
||||
if (m_selectedButton >= 0) {
|
||||
Button * button = buttonAtIndex(selectedButton);
|
||||
button->setHighlighted(true);
|
||||
app()->setFirstResponder(button);
|
||||
Container::activeApp()->setFirstResponder(button);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
@@ -171,7 +171,7 @@ const char * ButtonRowController::title() {
|
||||
}
|
||||
|
||||
void ButtonRowController::didBecomeFirstResponder(){
|
||||
app()->setFirstResponder(m_contentView.mainViewController());
|
||||
Container::activeApp()->setFirstResponder(m_contentView.mainViewController());
|
||||
}
|
||||
|
||||
int ButtonRowController::selectedButton() {
|
||||
|
||||
Reference in New Issue
Block a user