summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2018-05-13 21:16:26 +0200
committerGitHub <noreply@github.com>2018-05-13 21:16:26 +0200
commite67cbd462b96af1ce753a4e07514bb51d89c615d (patch)
tree8e4992ffb89ec811ef34600849fd0c4ca5ddc273 /Source/Core
parent7a5e51cda778932fbb03fa8db411dd8f75772b50 (diff)
parentb9ae15783597c2440d06c3eedb04c1e386844a51 (diff)
Merge pull request #6841 from spycrab/qt_fix_rtmfocus
Qt/RenderWidget: Fix render-to-main focus
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinQt2/MainWindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt2/MainWindow.cpp b/Source/Core/DolphinQt2/MainWindow.cpp
index aa15975cde..b8692e1a27 100644
--- a/Source/Core/DolphinQt2/MainWindow.cpp
+++ b/Source/Core/DolphinQt2/MainWindow.cpp
@@ -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
{