Qt: Disable ESC to exit fullscreen if kb shortcuts are disabled
This commit is contained in:
@@ -258,7 +258,7 @@ void gs_frame::keyPressEvent(QKeyEvent *keyEvent)
|
||||
}
|
||||
case Qt::Key_Escape:
|
||||
{
|
||||
if (visibility() == FullScreen)
|
||||
if (visibility() == FullScreen && !m_disable_kb_hotkeys)
|
||||
{
|
||||
toggle_fullscreen();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user