mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-13 15:41:18 +00:00
Merge pull request #6841 from spycrab/qt_fix_rtmfocus
Qt/RenderWidget: Fix render-to-main focus
This commit is contained in:
commit
e67cbd462b
@ -762,6 +762,8 @@ void MainWindow::ShowRenderWidget()
|
|||||||
m_stack->setCurrentIndex(m_stack->addWidget(m_render_widget));
|
m_stack->setCurrentIndex(m_stack->addWidget(m_render_widget));
|
||||||
connect(Host::GetInstance(), &Host::RequestTitle, this, &MainWindow::setWindowTitle);
|
connect(Host::GetInstance(), &Host::RequestTitle, this, &MainWindow::setWindowTitle);
|
||||||
m_stack->repaint();
|
m_stack->repaint();
|
||||||
|
|
||||||
|
Host::GetInstance()->SetRenderFocus(isActiveWindow());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user