don't allow menu access via shortcuts when then entire menu bar is disabled
svn: r9238
This commit is contained in:
parent
04c27f3a72
commit
6c4ab3dad7
|
@ -709,6 +709,7 @@
|
||||||
[handle-menu-key
|
[handle-menu-key
|
||||||
(lambda (event)
|
(lambda (event)
|
||||||
(and menu-bar
|
(and menu-bar
|
||||||
|
(send menu-bar all-enabled?)
|
||||||
;; It can't be a menu event without a
|
;; It can't be a menu event without a
|
||||||
;; control, meta, alt key, or function key
|
;; control, meta, alt key, or function key
|
||||||
(or (send event get-control-down)
|
(or (send event get-control-down)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user