0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +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:
jp9000 2018-07-23 18:44:02 -07:00
parent cc69ec16ec
commit 7ef3350d50

View File

@ -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);
}
}