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)
master
jp9000 2015-07-02 16:15:51 -07:00
parent 4330065d7d
commit 1d3251a993
1 changed files with 1 additions and 0 deletions

View File

@ -414,6 +414,7 @@ void OBSBasic::Load(const char *file)
BPtr<char> jsonData = os_quick_read_utf8_file(file);
if (!jsonData) {
CreateDefaultScene();
SaveProject();
return;
}