UI: Reset UUIDs in duplicated collection

This commit is contained in:
derrod
2023-03-12 01:11:38 +01:00
committed by Rodney
parent 1fd50a9324
commit 02225aa8bf
@@ -157,9 +157,13 @@ bool OBSBasic::AddSceneCollection(bool create_new, const QString &qname)
"SceneCollection", name.c_str());
config_set_string(App()->GlobalConfig(), "Basic",
"SceneCollectionFile", file.c_str());
if (create_new) {
CreateDefaultScene(false);
} else {
obs_reset_source_uuids();
}
SaveProjectNow();
RefreshSceneCollections();
};