You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
renamed _input_event for GUI events to _gui_input, so it's more differentiated than generalized _input
This commit is contained in:
@@ -183,7 +183,7 @@ void ScriptEditorQuickOpen::_sbox_input(const InputEvent& p_ie) {
|
||||
p_ie.key.scancode == KEY_PAGEUP ||
|
||||
p_ie.key.scancode == KEY_PAGEDOWN ) ) {
|
||||
|
||||
search_options->call("_input_event",p_ie);
|
||||
search_options->call("_gui_input",p_ie);
|
||||
search_box->accept_event();
|
||||
}
|
||||
|
||||
@@ -258,7 +258,7 @@ ScriptEditorQuickOpen::ScriptEditorQuickOpen() {
|
||||
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"));
|
||||
|
||||
Reference in New Issue
Block a user