summaryrefslogtreecommitdiff
path: root/tools/editor/editor_path.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-01-08 16:28:12 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-01-08 16:28:12 -0300
commit920947f297ff3b8d959d15c8e15e7a28dcbdb08f (patch)
tree160ca184a2d8ec1a43238d25e10ef198bdd6b5c8 /tools/editor/editor_path.cpp
parent0a59c3c3a6a8c13a5c82d59d9587fca31f900604 (diff)
renamed _input_event for GUI events to _gui_input, so it's more differentiated than generalized _input
Diffstat (limited to 'tools/editor/editor_path.cpp')
-rw-r--r--tools/editor/editor_path.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/editor_path.cpp b/tools/editor/editor_path.cpp
index 9053d9bde0..191881292f 100644
--- a/tools/editor/editor_path.cpp
+++ b/tools/editor/editor_path.cpp
@@ -67,7 +67,7 @@ void EditorPath::_add_children_to_popup(Object* p_obj,int p_depth) {
}
}
-void EditorPath::_input_event(const InputEvent& p_event) {
+void EditorPath::_gui_input(const InputEvent& p_event) {
if (p_event.type==InputEvent::MOUSE_BUTTON && p_event.mouse_button.button_index==BUTTON_LEFT && p_event.mouse_button.pressed) {
@@ -198,7 +198,7 @@ void EditorPath::_popup_select(int p_idx) {
void EditorPath::_bind_methods() {
- ClassDB::bind_method("_input_event",&EditorPath::_input_event);
+ ClassDB::bind_method("_gui_input",&EditorPath::_gui_input);
ClassDB::bind_method("_popup_select",&EditorPath::_popup_select);
}