summaryrefslogtreecommitdiff
path: root/tools/editor/console.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/editor/console.cpp')
-rw-r--r--tools/editor/console.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/console.cpp b/tools/editor/console.cpp
index 746f61ad67..6b37895bc4 100644
--- a/tools/editor/console.cpp
+++ b/tools/editor/console.cpp
@@ -129,7 +129,7 @@ void Console::_window_input_event(InputEvent p_event) {
if (p_event.key.scancode==KEY_ESCAPE && !window_has_modal_stack() && is_visible()) {
hide();
- get_scene()->call_group(0,"windows","_cancel_input_ID",p_event.ID);
+ get_tree()->call_group(0,"windows","_cancel_input_ID",p_event.ID);
}
@@ -153,7 +153,7 @@ void Console::_notification(int p_what) {
switch(p_what) {
- case NOTIFICATION_ENTER_SCENE: {
+ case NOTIFICATION_ENTER_TREE: {
_resized();
show();