allow styles to be #f
original commit: f5c6d81262702aba29dd51eaebd620fcb61ba690
This commit is contained in:
parent
229bb38d48
commit
0314fa7035
|
@ -170,9 +170,11 @@
|
|||
(set-mode-direct m)
|
||||
(set-file-format (ivar m file-format))
|
||||
(send m install this)
|
||||
(send (send (get-style-list)
|
||||
find-named-style "Standard")
|
||||
set-delta (ivar m standard-style-delta)))
|
||||
(let ([new-delta (ivar m standard-style-delta)])
|
||||
(when new-delta
|
||||
(send (send (get-style-list)
|
||||
find-named-style "Standard")
|
||||
set-delta new-delta))))
|
||||
(begin
|
||||
(set-mode-direct #f)
|
||||
(send (send (get-style-list)
|
||||
|
|
Loading…
Reference in New Issue
Block a user