mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-16 15:21:41 +00:00
Allow interacting with the render window while configuring controllers
WindowModal allows alt+tabing to the render window, but prohibits interaction with parent windows (controller settings window and the main dolphin window).
This commit is contained in:
parent
e7bc86881d
commit
7c80fcde53
1 changed files with 8 additions and 2 deletions
|
@ -426,7 +426,10 @@ void ControllersWindow::OnGCPadConfigure()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
MappingWindow(this, type, static_cast<int>(index)).exec();
|
MappingWindow* window = new MappingWindow(this, type, static_cast<int>(index));
|
||||||
|
window->setAttribute(Qt::WA_DeleteOnClose, true);
|
||||||
|
window->setWindowModality(Qt::WindowModality::WindowModal);
|
||||||
|
window->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ControllersWindow::OnWiimoteConfigure()
|
void ControllersWindow::OnWiimoteConfigure()
|
||||||
|
@ -451,7 +454,10 @@ void ControllersWindow::OnWiimoteConfigure()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
MappingWindow(this, type, static_cast<int>(index)).exec();
|
MappingWindow* window = new MappingWindow(this, type, static_cast<int>(index));
|
||||||
|
window->setAttribute(Qt::WA_DeleteOnClose, true);
|
||||||
|
window->setWindowModality(Qt::WindowModality::WindowModal);
|
||||||
|
window->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ControllersWindow::LoadSettings()
|
void ControllersWindow::LoadSettings()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue