diff options
author | Michael Alexsander Silva Dias <michaelalexsander@protonmail.com> | 2018-08-05 04:53:36 -0300 |
---|---|---|
committer | Michael Alexsander Silva Dias <michaelalexsander@protonmail.com> | 2018-08-05 04:53:36 -0300 |
commit | 9194e42175a020ebec3ffe96ec1dc0855c296247 (patch) | |
tree | 59e183fec2fed8f50b2c2d519dc8ff92f3fb0d0e /editor/plugins | |
parent | a3bd9c27a3b95a0ff0398c074d206d56a79dcc2e (diff) |
Fix wrong context menu when right-clicking script/doc files
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/script_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index 6cc8f91e38..101ed05b42 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -2894,7 +2894,7 @@ ScriptEditor::ScriptEditor(EditorNode *p_editor) { script_list->set_v_size_flags(SIZE_EXPAND_FILL); script_split->set_split_offset(140); _sort_list_on_update = true; - script_list->connect("gui_input", this, "_script_list_gui_input"); + script_list->connect("gui_input", this, "_script_list_gui_input", varray(), CONNECT_DEFERRED); script_list->set_allow_rmb_select(true); script_list->set_drag_forwarding(this); |