Add a missing check for when arrow-records might be #f
closes PR 13133
This commit is contained in:
parent
9b6ff5d94d
commit
c3a454aebf
|
@ -1056,6 +1056,7 @@ If the namespace does not, they are colored the unbound color.
|
||||||
(invalidate-bitmap-cache 0 0 'display-end 'display-end))
|
(invalidate-bitmap-cache 0 0 'display-end 'display-end))
|
||||||
|
|
||||||
(define/public (syncheck:build-popup-menu menu pos text)
|
(define/public (syncheck:build-popup-menu menu pos text)
|
||||||
|
(when arrow-records
|
||||||
(define arrow-record (hash-ref arrow-records text #f))
|
(define arrow-record (hash-ref arrow-records text #f))
|
||||||
(when arrow-record
|
(when arrow-record
|
||||||
(define added-sep? #f)
|
(define added-sep? #f)
|
||||||
|
@ -1128,7 +1129,7 @@ If the namespace does not, they are colored the unbound color.
|
||||||
arrow-record
|
arrow-record
|
||||||
start-selection
|
start-selection
|
||||||
end-selection))))
|
end-selection))))
|
||||||
(for-each (λ (f) (f menu)) add-menus)))
|
(for-each (λ (f) (f menu)) add-menus))))
|
||||||
|
|
||||||
(struct tooltip-spec (strings x y w h) #:transparent)
|
(struct tooltip-spec (strings x y w h) #:transparent)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user