Browse Source

UI: Also defer first scene collection load

Fixes a bug where it would try to save the scene before the scene had
been loaded on macOS.
jp9000 7 years ago
parent
commit
e9d22bdbd6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UI/window-basic-main.cpp

+ 1 - 1
UI/window-basic-main.cpp

@@ -1470,7 +1470,6 @@ void OBSBasic::OBSInit()
 	}
 #endif
 
-	RefreshSceneCollections();
 	RefreshProfiles();
 	disableSaving--;
 
@@ -1618,6 +1617,7 @@ void OBSBasic::DeferredLoad(const QString &file, int requeueCount)
 	}
 
 	Load(QT_TO_UTF8(file));
+	RefreshSceneCollections();
 }
 
 void OBSBasic::UpdateMultiviewProjectorMenu()