mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
UI: Do not open properties dialog for groups
On initial creation of an empty group, do not open a properties dialog for groups.
This commit is contained in:
parent
cc69ec16ec
commit
7ef3350d50
@ -3983,7 +3983,7 @@ void OBSBasic::AddSource(const char *id)
|
||||
if (id && *id) {
|
||||
OBSBasicSourceSelect sourceSelect(this, id);
|
||||
sourceSelect.exec();
|
||||
if (sourceSelect.newSource)
|
||||
if (sourceSelect.newSource && strcmp(id, "group") != 0)
|
||||
CreatePropertiesWindow(sourceSelect.newSource);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user