Adjust keybinding code to fall back from
get-active-canvas to get-canvas Unclear if this is a bug in get-active-canvas or not closes PR 13507
This commit is contained in:
parent
5c21ab0e42
commit
2c35a98ad8
|
@ -1314,7 +1314,8 @@
|
|||
(let ([frame
|
||||
(cond
|
||||
[(is-a? edit editor<%>)
|
||||
(let ([canvas (send edit get-active-canvas)])
|
||||
(let ([canvas (or (send edit get-active-canvas)
|
||||
(send edit get-canvas))])
|
||||
(and canvas
|
||||
(send canvas get-top-level-window)))]
|
||||
[(is-a? edit area<%>)
|
||||
|
|
Loading…
Reference in New Issue
Block a user