mirror of
https://github.com/PabloMK7/citra
synced 2024-11-14 20:58:23 +00:00
Set render window to also accept focus via tabbing (Qt::StrongFocus) (#5089)
This commit is contained in:
parent
407fd15515
commit
9226bffa96
1 changed files with 1 additions and 1 deletions
|
@ -1467,7 +1467,7 @@ void GMainWindow::ToggleWindowMode() {
|
||||||
// Render in the main window...
|
// Render in the main window...
|
||||||
render_window->BackupGeometry();
|
render_window->BackupGeometry();
|
||||||
ui.horizontalLayout->addWidget(render_window);
|
ui.horizontalLayout->addWidget(render_window);
|
||||||
render_window->setFocusPolicy(Qt::ClickFocus);
|
render_window->setFocusPolicy(Qt::StrongFocus);
|
||||||
if (emulation_running) {
|
if (emulation_running) {
|
||||||
render_window->setVisible(true);
|
render_window->setVisible(true);
|
||||||
render_window->setFocus();
|
render_window->setFocus();
|
||||||
|
|
Loading…
Reference in a new issue