mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-19 22:00:28 +01:00
[escher] Make app() a global function
This way it can easily be reached by anyone, including non-responders. And it can easily be overwritten in namespaced apps.
This commit is contained in:
committed by
EmilieNumworks
parent
154baae6d3
commit
45875dd642
@@ -58,7 +58,7 @@ bool EditorController::textAreaDidReceiveEvent(TextArea * textArea, Ion::Events:
|
||||
saveScript();
|
||||
return false;
|
||||
}
|
||||
if (static_cast<App *>(textArea->app())->textInputDidReceiveEvent(textArea, event)) {
|
||||
if (static_cast<App *>(app())->textInputDidReceiveEvent(textArea, event)) {
|
||||
return true;
|
||||
}
|
||||
if (event == Ion::Events::EXE) {
|
||||
|
||||
Reference in New Issue
Block a user