1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-20 14:45:44 +00:00

Merge pull request #67798 from KoBeWi/code_resurrection

Uncomment drag forwarding in CreateDialog
This commit is contained in:
Rémi Verschelde
2022-11-15 13:25:00 +01:00

View File

@@ -752,8 +752,7 @@ CreateDialog::CreateDialog() {
favorites->connect("cell_selected", callable_mp(this, &CreateDialog::_favorite_selected)); favorites->connect("cell_selected", callable_mp(this, &CreateDialog::_favorite_selected));
favorites->connect("item_activated", callable_mp(this, &CreateDialog::_favorite_activated)); favorites->connect("item_activated", callable_mp(this, &CreateDialog::_favorite_activated));
favorites->add_theme_constant_override("draw_guides", 1); favorites->add_theme_constant_override("draw_guides", 1);
// Cannot forward drag data to a non control, must be fixed. favorites->set_drag_forwarding(this);
//favorites->set_drag_forwarding(this);
fav_vb->add_margin_child(TTR("Favorites:"), favorites, true); fav_vb->add_margin_child(TTR("Favorites:"), favorites, true);
VBoxContainer *rec_vb = memnew(VBoxContainer); VBoxContainer *rec_vb = memnew(VBoxContainer);