fix source editor in new tab not openning

This commit is contained in:
David Botton 2024-03-20 07:51:14 -04:00
parent 249e8450b8
commit dfc8d60c2d
3 changed files with 121 additions and 123 deletions

View file

@ -169,7 +169,8 @@
(error (condition)
(alert-toast obj "File Error" (format nil "Error: ~A" condition))
(format t "Error: ~A" condition)))))
(when open-file
(when (and open-file
(not (equalp open-file " ")))
(open-file-name open-file))
(set-on-click btn-load (lambda (obj)
(server-file-dialog obj "Load Source" (directory-namestring (if (equal file-name "")