macro-stepper: don't try to remove term when at end of list
original commit: 3e77a1096fc2e4c508fd4d9abf3ccfff0e6d4a0f
This commit is contained in:
parent
ae8282f5c7
commit
e0daa840aa
|
@ -80,9 +80,10 @@
|
|||
|
||||
;; remove-current-term : -> void
|
||||
(define/public (remove-current-term)
|
||||
(cursor:remove-current! terms)
|
||||
(trim-navigator)
|
||||
(refresh))
|
||||
(when (cursor:has-next? terms)
|
||||
(cursor:remove-current! terms)
|
||||
(trim-navigator)
|
||||
(refresh)))
|
||||
|
||||
;; show-in-new-frame : -> void
|
||||
(define/public (show-in-new-frame)
|
||||
|
|
Loading…
Reference in New Issue
Block a user