Remove set_drag_forwarding_compat()
This commit is contained in:
@ -979,9 +979,6 @@ void ProjectExportDialog::_export_all(bool p_debug) {
|
||||
}
|
||||
|
||||
void ProjectExportDialog::_bind_methods() {
|
||||
ClassDB::bind_method("_get_drag_data_fw", &ProjectExportDialog::get_drag_data_fw);
|
||||
ClassDB::bind_method("_can_drop_data_fw", &ProjectExportDialog::can_drop_data_fw);
|
||||
ClassDB::bind_method("_drop_data_fw", &ProjectExportDialog::drop_data_fw);
|
||||
ClassDB::bind_method("_export_all", &ProjectExportDialog::_export_all);
|
||||
ClassDB::bind_method("set_export_path", &ProjectExportDialog::set_export_path);
|
||||
ClassDB::bind_method("get_export_path", &ProjectExportDialog::get_export_path);
|
||||
@ -1022,8 +1019,7 @@ ProjectExportDialog::ProjectExportDialog() {
|
||||
preset_vb->add_child(mc);
|
||||
mc->set_v_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
presets = memnew(ItemList);
|
||||
// TODO: Must reimplement drag forwarding.
|
||||
//presets->set_drag_forwarding_compat(this);
|
||||
SET_DRAG_FORWARDING_GCD(presets, ProjectExportDialog);
|
||||
mc->add_child(presets);
|
||||
presets->connect("item_selected", callable_mp(this, &ProjectExportDialog::_edit_preset));
|
||||
duplicate_preset = memnew(Button);
|
||||
|
||||
Reference in New Issue
Block a user