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
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user