fix to save as, split settings file

This commit is contained in:
David Botton 2024-03-25 20:18:46 -04:00
parent 9913d85183
commit b78aa3ad0b
7 changed files with 11 additions and 2383 deletions

View file

@ -450,10 +450,14 @@ clog-builder window.")
(set-geometry (current-window body) :top 38 :left 5 :right "" :height "" :bottom 22)
(set-geometry (current-window body) :height (height (current-window body))
:bottom (bottom (current-window body))))
(on-dir-win body :dir *start-dir*)
(handler-case
(on-dir-win body :dir *start-dir*)
(error (msg)
(alert-toast body "Directory Error" (format nil "Unable to open directory ~A. " *start-dir*))
(setf *start-dir* nil)))
(set-geometry (current-window body) :top 38 :left "" :right 5 :height "" :bottom 22)
(set-geometry (current-window body) :height (height (current-window body))
:bottom (bottom (current-window body))))))
:bottom (bottom (current-window body))))))
(set-on-before-unload (window body) (lambda(obj)
(declare (ignore obj))
;; return empty string to prevent nav off page