make the 'failed to click on the radio box' error message more helpful
This commit is contained in:
parent
9ad93eaa2d
commit
8c47dbba01
|
@ -424,6 +424,7 @@
|
||||||
|
|
||||||
;; entry-matches : string | regexp -> radio-box -> boolean
|
;; entry-matches : string | regexp -> radio-box -> boolean
|
||||||
(define (entry-matches name)
|
(define (entry-matches name)
|
||||||
|
(procedure-rename
|
||||||
(λ (rb)
|
(λ (rb)
|
||||||
(let loop ([n (send rb get-number)])
|
(let loop ([n (send rb get-number)])
|
||||||
(cond
|
(cond
|
||||||
|
@ -438,7 +439,11 @@
|
||||||
[(regexp? name)
|
[(regexp? name)
|
||||||
(or (regexp-match name itm)
|
(or (regexp-match name itm)
|
||||||
(regexp-match name pln-itm))])
|
(regexp-match name pln-itm))])
|
||||||
(loop (- n 1))))]))))
|
(loop (- n 1))))])))
|
||||||
|
(string->symbol
|
||||||
|
(if (regexp? name)
|
||||||
|
(object-name name)
|
||||||
|
name))))
|
||||||
|
|
||||||
;;; CHOICE
|
;;; CHOICE
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user