UI: Fix bug where stats dock steals focus of main windows

This commit is contained in:
Bennik2000 committed 2020-05-18 18:54:03 +02:00
1 parent 63cbcc5dcc
commit b04ace4901
1 file changed
+4
+4
View File
@@ -1855,6 +1855,8 @@ void OBSBasic::OBSInit()
OnFirstLoad();
activateWindow();
#ifdef __APPLE__
QMetaObject::invokeMethod(this, "DeferredSysTrayLoad",
Qt::QueuedConnection, Q_ARG(int, 10));
@@ -6930,6 +6932,8 @@ void OBSBasic::on_resetUI_triggered()
resizeDocks(docks, {cy, cy, cy, cy, cy}, Qt::Vertical);
resizeDocks(docks, sizes, Qt::Horizontal);
#endif
activateWindow();
}
void OBSBasic::on_lockUI_toggled(bool lock)