diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2023-01-11 01:14:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-11 01:14:58 +0100 |
| commit | 54688a753589a2104e31cf2265a254cad48715ba (patch) | |
| tree | 32a445e54e85419a27875b0095e4038b6cf4d5d8 /editor/plugins/script_editor_plugin.cpp | |
| parent | b65c5bccfa787929acc265308a0714ecbb179359 (diff) | |
| parent | e6a4debede608808d2aac5985a1ad8415d5dc7cd (diff) | |
| download | redot-engine-54688a753589a2104e31cf2265a254cad48715ba.tar.gz | |
Merge pull request #71127 from reduz/drag-forward-to-callables
Change set_drag_forwarding() to use callables.
Diffstat (limited to 'editor/plugins/script_editor_plugin.cpp')
| -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 a23874ea05..caa42b677c 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -3669,7 +3669,7 @@ ScriptEditor::ScriptEditor() { _sort_list_on_update = true; script_list->connect("item_clicked", callable_mp(this, &ScriptEditor::_script_list_clicked), CONNECT_DEFERRED); script_list->set_allow_rmb_select(true); - script_list->set_drag_forwarding(this); + script_list->set_drag_forwarding_compat(this); context_menu = memnew(PopupMenu); add_child(context_menu); |
