UI: Use the latest version when dropping files

This commit is contained in:
Norihiro Kamae 2023-08-21 22:42:42 +09:00 committed by Lain
parent b3485dd354
commit b2a8e0a99b

View file

@ -179,6 +179,9 @@ void OBSBasic::AddDropSource(const char *data, DropType image)
break;
}
}
type = obs_get_latest_input_type_id(type);
if (type == nullptr || !obs_source_get_display_name(type)) {
return;
}