diff options
author | Juan Linietsky <reduzio@gmail.com> | 2023-01-09 19:24:36 +0100 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2023-01-10 14:09:24 +0100 |
commit | e6a4debede608808d2aac5985a1ad8415d5dc7cd (patch) | |
tree | 64411bee30b12b5ba7967bef0a15b69d8aaa7570 /editor/editor_autoload_settings.cpp | |
parent | f5f7d11ac47244e4cc02cd7336ba86e0ed272dc3 (diff) | |
download | redot-engine-e6a4debede608808d2aac5985a1ad8415d5dc7cd.tar.gz |
Change set_drag_forwarding() to use callables.
* This solution is much cleaner than the one in 3.x thanks to the use of callables.
* Works without issues in any language (no need to worry about camel or snake case).
* Editor code uses a compatibility function (too much work to redo).
Fixes #59899
Diffstat (limited to 'editor/editor_autoload_settings.cpp')
-rw-r--r-- | editor/editor_autoload_settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_autoload_settings.cpp b/editor/editor_autoload_settings.cpp index db251c857c..4001b849ff 100644 --- a/editor/editor_autoload_settings.cpp +++ b/editor/editor_autoload_settings.cpp @@ -935,7 +935,7 @@ EditorAutoloadSettings::EditorAutoloadSettings() { tree->set_select_mode(Tree::SELECT_MULTI); tree->set_allow_reselect(true); - tree->set_drag_forwarding(this); + tree->set_drag_forwarding_compat(this); tree->set_columns(4); tree->set_column_titles_visible(true); |