UI: Fix bug where stats dock steals focus of main windows
parent
63cbcc5dcc
commit
b04ace4901
|
@ -1855,6 +1855,8 @@ void OBSBasic::OBSInit()
|
||||||
|
|
||||||
OnFirstLoad();
|
OnFirstLoad();
|
||||||
|
|
||||||
|
activateWindow();
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
QMetaObject::invokeMethod(this, "DeferredSysTrayLoad",
|
QMetaObject::invokeMethod(this, "DeferredSysTrayLoad",
|
||||||
Qt::QueuedConnection, Q_ARG(int, 10));
|
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, {cy, cy, cy, cy, cy}, Qt::Vertical);
|
||||||
resizeDocks(docks, sizes, Qt::Horizontal);
|
resizeDocks(docks, sizes, Qt::Horizontal);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
activateWindow();
|
||||||
}
|
}
|
||||||
|
|
||||||
void OBSBasic::on_lockUI_toggled(bool lock)
|
void OBSBasic::on_lockUI_toggled(bool lock)
|
||||||
|
|
Loading…
Reference in New Issue