UI: Fix YouTubeAppDock restore dock state
This commit is contained in:
parent
57849bb0e7
commit
049f4454d4
3 changed files with 12 additions and 17 deletions
|
|
@ -2192,6 +2192,12 @@ void OBSBasic::OBSInit()
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef YOUTUBE_ENABLED
|
||||
/* setup YouTube app dock */
|
||||
if (YouTubeAppDock::IsYTServiceSelected())
|
||||
youtubeAppDock = new YouTubeAppDock();
|
||||
#endif
|
||||
|
||||
const char *dockStateStr = config_get_string(
|
||||
App()->GlobalConfig(), "BasicWindow", "DockState");
|
||||
|
||||
|
|
@ -2336,12 +2342,6 @@ void OBSBasic::OBSInit()
|
|||
UpdatePreviewProgramIndicators();
|
||||
OnFirstLoad();
|
||||
|
||||
#ifdef YOUTUBE_ENABLED
|
||||
/* setup YouTube app dock */
|
||||
if (YouTubeAppDock::IsYTServiceSelected())
|
||||
youtubeAppDock = new YouTubeAppDock();
|
||||
#endif
|
||||
|
||||
if (!hideWindowOnStart)
|
||||
activateWindow();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue