diff --git a/collects/drracket/private/syncheck/gui.rkt b/collects/drracket/private/syncheck/gui.rkt index b8f5987989..29fe560081 100644 --- a/collects/drracket/private/syncheck/gui.rkt +++ b/collects/drracket/private/syncheck/gui.rkt @@ -1555,7 +1555,8 @@ If the namespace does not, they are colored the unbound color. (match-define (def-link id filename submods) a-def-link) (define tab (for/or ([frame (in-list (send (group:get-the-frame-group) get-frames))]) - (send frame find-matching-tab filename))) + (and (is-a? frame drracket:unit:frame<%>) + (send frame find-matching-tab filename)))) (define dt (and tab (send (send tab get-defs) syncheck:find-definition-target id submods)))