aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/quick_open.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-01-08 16:28:12 -0300
committerJuan Linietsky2017-01-08 16:28:12 -0300
commit920947f297ff3b8d959d15c8e15e7a28dcbdb08f (patch)
tree160ca184a2d8ec1a43238d25e10ef198bdd6b5c8 /tools/editor/quick_open.cpp
parent0a59c3c3a6a8c13a5c82d59d9587fca31f900604 (diff)
downloadgodot-920947f297ff3b8d959d15c8e15e7a28dcbdb08f.tar.gz
godot-920947f297ff3b8d959d15c8e15e7a28dcbdb08f.tar.zst
godot-920947f297ff3b8d959d15c8e15e7a28dcbdb08f.zip
Diffstat (limited to 'tools/editor/quick_open.cpp')
-rw-r--r--tools/editor/quick_open.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/quick_open.cpp b/tools/editor/quick_open.cpp
index f129a365c..f1746efd6 100644
--- a/tools/editor/quick_open.cpp
+++ b/tools/editor/quick_open.cpp
@@ -86,7 +86,7 @@ void EditorQuickOpen::_sbox_input(const InputEvent& p_ie) {
case KEY_PAGEUP:
case KEY_PAGEDOWN: {
- search_options->call("_input_event", p_ie);
+ search_options->call("_gui_input", p_ie);
search_box->accept_event();
TreeItem *root = search_options->get_root();
@@ -270,7 +270,7 @@ EditorQuickOpen::EditorQuickOpen() {
search_box = memnew( LineEdit );
vbc->add_margin_child(TTR("Search:"),search_box);
search_box->connect("text_changed",this,"_text_changed");
- search_box->connect("input_event",this,"_sbox_input");
+ search_box->connect("gui_input",this,"_sbox_input");
search_options = memnew( Tree );
vbc->add_margin_child(TTR("Matches:"),search_options,true);
get_ok()->set_text(TTR("Open"));