add a check to make sure we don't try to select a teachpack when the
user clicks on empty space closes PR 12472
This commit is contained in:
parent
061007f30f
commit
20bcf80e8b
|
@ -741,9 +741,10 @@
|
||||||
[parent user-installed-gb]))
|
[parent user-installed-gb]))
|
||||||
|
|
||||||
(define (selected lb)
|
(define (selected lb)
|
||||||
(unless compiling?
|
(when (send lb get-selection)
|
||||||
(set! answer (figure-out-answer))
|
(unless compiling?
|
||||||
(send dlg show #f)))
|
(set! answer (figure-out-answer))
|
||||||
|
(send dlg show #f))))
|
||||||
|
|
||||||
(define (clear-selection lb)
|
(define (clear-selection lb)
|
||||||
(for-each
|
(for-each
|
||||||
|
|
Loading…
Reference in New Issue
Block a user