Skip to content
Permalink
Browse files
Merge pull request #6841 from spycrab/qt_fix_rtmfocus
Qt/RenderWidget: Fix render-to-main focus
  • Loading branch information
leoetlino committed May 13, 2018
2 parents 7a5e51c + b9ae157 commit e67cbd4
Showing 1 changed file with 2 additions and 0 deletions.
@@ -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
{

0 comments on commit e67cbd4

Please sign in to comment.