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]))
|
||||
|
||||
(define (selected lb)
|
||||
(unless compiling?
|
||||
(set! answer (figure-out-answer))
|
||||
(send dlg show #f)))
|
||||
(when (send lb get-selection)
|
||||
(unless compiling?
|
||||
(set! answer (figure-out-answer))
|
||||
(send dlg show #f))))
|
||||
|
||||
(define (clear-selection lb)
|
||||
(for-each
|
||||
|
|
Loading…
Reference in New Issue
Block a user