mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 264145: disable Control+F4 (Close Tab keyboard shortcut) on Mac. p=mano, r=mconnor
This commit is contained in:
parent
4c2bd999f9
commit
9792a0fd98
@ -1572,8 +1572,10 @@
|
||||
return;
|
||||
}
|
||||
|
||||
#ifndef XP_MACOSX
|
||||
if (aEvent.ctrlKey && aEvent.keyCode == KeyEvent.DOM_VK_F4 && this.tabbrowser.mTabBox.handleCtrlPageUpDown)
|
||||
this.tabbrowser.removeCurrentTab();
|
||||
#endif
|
||||
}
|
||||
})]]>
|
||||
</field>
|
||||
|
Loading…
Reference in New Issue
Block a user