mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
UI: Fix YouTubeAppDock restore dock state
This commit is contained in:
+6
-2
@@ -174,7 +174,12 @@ void YoutubeAuth::LoadUI()
|
||||
|
||||
if (firstLoad) {
|
||||
chat->setVisible(true);
|
||||
} else {
|
||||
}
|
||||
#endif
|
||||
|
||||
main->NewYouTubeAppDock();
|
||||
|
||||
if (!firstLoad) {
|
||||
const char *dockStateStr = config_get_string(
|
||||
main->Config(), service(), "DockState");
|
||||
QByteArray dockState =
|
||||
@@ -183,7 +188,6 @@ void YoutubeAuth::LoadUI()
|
||||
if (main->isVisible() || !main->isMaximized())
|
||||
main->restoreState(dockState);
|
||||
}
|
||||
#endif
|
||||
|
||||
uiLoaded = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user