From 1d3251a993258bc494a4f702da814dc94747f81a Mon Sep 17 00:00:00 2001 From: jp9000 Date: Thu, 2 Jul 2015 16:15:51 -0700 Subject: [PATCH] UI: Save after creating default scene When initializing with a default scene, save the data to ensure a file is actually present when needed (such as for scene collections which may need the file) --- obs/window-basic-main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/obs/window-basic-main.cpp b/obs/window-basic-main.cpp index ee4815991..b79cc5edb 100644 --- a/obs/window-basic-main.cpp +++ b/obs/window-basic-main.cpp @@ -414,6 +414,7 @@ void OBSBasic::Load(const char *file) BPtr jsonData = os_quick_read_utf8_file(file); if (!jsonData) { CreateDefaultScene(); + SaveProject(); return; }