directory and file buttons

This commit is contained in:
David Botton 2022-09-13 22:41:10 -04:00
parent 2dbc39481e
commit 09aa23bac8
6 changed files with 230 additions and 123 deletions

View file

@ -15,11 +15,12 @@
(projects-populate panel)))))
(defun projects-view-dir (panel)
(ignore-errors
(let* ((app (connection-data-item panel "builder-app-data"))
(sel (text-value (project-list panel)))
(sys (asdf:find-system (format nil "~A" sel))))
(on-dir-win panel :dir (asdf:system-source-directory sys)))))
(let* ((app (connection-data-item panel "builder-app-data"))
(sel (text-value (project-list panel))))
(if (equal sel "None")
(on-dir-win panel)
(let ((sys (asdf:find-system (format nil "~A" sel))))
(on-dir-win panel :dir (asdf:system-source-directory sys))))))
(defun projects-run (panel)
(let ((val (text-value (entry-point panel))))