Procházet zdrojové kódy

Merge pull request #67798 from KoBeWi/code_resurrection

Uncomment drag forwarding in CreateDialog
Rémi Verschelde před 2 roky
rodič
revize
2444860d03
1 změnil soubory, kde provedl 1 přidání a 2 odebrání
  1. 1 2
      editor/create_dialog.cpp

+ 1 - 2
editor/create_dialog.cpp

@@ -752,8 +752,7 @@ CreateDialog::CreateDialog() {
 	favorites->connect("cell_selected", callable_mp(this, &CreateDialog::_favorite_selected));
 	favorites->connect("item_activated", callable_mp(this, &CreateDialog::_favorite_activated));
 	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);
 
 	VBoxContainer *rec_vb = memnew(VBoxContainer);