mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-01 12:15:27 -06:00
Qt: Disable ESC to exit fullscreen if kb shortcuts are disabled
This commit is contained in:
parent
9b7eaf5117
commit
c725b886e1
@ -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…
Reference in New Issue
Block a user