mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-11 01:08:39 +12:00
Qt: Disable ESC to exit fullscreen if kb shortcuts are disabled
This commit is contained in:
parent
9b7eaf5117
commit
c725b886e1
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ void gs_frame::keyPressEvent(QKeyEvent *keyEvent)
|
||||||
}
|
}
|
||||||
case Qt::Key_Escape:
|
case Qt::Key_Escape:
|
||||||
{
|
{
|
||||||
if (visibility() == FullScreen)
|
if (visibility() == FullScreen && !m_disable_kb_hotkeys)
|
||||||
{
|
{
|
||||||
toggle_fullscreen();
|
toggle_fullscreen();
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue