From 7ef3350d50052b5d1796923eabbaeba3972bbb4a Mon Sep 17 00:00:00 2001 From: jp9000 Date: Mon, 23 Jul 2018 18:44:02 -0700 Subject: [PATCH] UI: Do not open properties dialog for groups On initial creation of an empty group, do not open a properties dialog for groups. --- UI/window-basic-main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/window-basic-main.cpp b/UI/window-basic-main.cpp index 9759f2341..38132cf5d 100644 --- a/UI/window-basic-main.cpp +++ b/UI/window-basic-main.cpp @@ -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); } }