Uncomment drag forwarding in CreateDialog

This commit is contained in:
kobewi 2022-10-23 15:47:22 +02:00
parent 79bad6ab7f
commit c5c30898af
1 changed files with 1 additions and 2 deletions

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);