mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-19 20:32:15 +02:00
UI: Translate place holder name for new group
(cherry picked from commit 323f3957cd
)
This commit is contained in:
parent
0b7ac96157
commit
c58e511813
@ -367,6 +367,8 @@ static inline const char *GetSourceDisplayName(const char *id)
|
||||
{
|
||||
if (strcmp(id, "scene") == 0)
|
||||
return Str("Basic.Scene");
|
||||
else if (strcmp(id, "group") == 0)
|
||||
return Str("Group");
|
||||
const char *v_id = obs_get_latest_input_type_id(id);
|
||||
return obs_source_get_display_name(v_id);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user