mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-14 23:34:08 +00:00
UI: Use the latest version when dropping files
This commit is contained in:
parent
b3485dd354
commit
b2a8e0a99b
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue