浏览代码

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 年之前
父节点
当前提交
e9d22bdbd6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      UI/window-basic-main.cpp

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

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