Qt/RenderWidget: Fix render-to-main focus

This commit is contained in:
spycrab 2018-05-13 21:08:34 +02:00
parent 7a5e51cda7
commit b9ae157835

View File

@ -762,6 +762,8 @@ void MainWindow::ShowRenderWidget()
m_stack->setCurrentIndex(m_stack->addWidget(m_render_widget));
connect(Host::GetInstance(), &Host::RequestTitle, this, &MainWindow::setWindowTitle);
m_stack->repaint();
Host::GetInstance()->SetRenderFocus(isActiveWindow());
}
else
{