mirror of
https://codeberg.org/cage/tinmop/
synced 2025-01-28 03:59:17 +01:00
- [GUI] prevented crash when no file has been chosen to save a link's content.
This commit is contained in:
parent
e9126fb615
commit
6a601209a3
@ -485,8 +485,9 @@
|
||||
:initial-dir "."
|
||||
:parent main-window
|
||||
:title (_ "Choose a file for saving")))
|
||||
(input-file (gui-goodies:with-busy* (main-window)
|
||||
(slurp-iri main-window link-value))))
|
||||
(input-file (when (string-not-empty-p output-file)
|
||||
(gui-goodies:with-busy* (main-window)
|
||||
(slurp-iri main-window link-value)))))
|
||||
(fs:copy-a-file input-file output-file :overwrite t))))
|
||||
(lambda ()
|
||||
(let* ((popup-menu (gui:make-menu nil (_"link menu")))
|
||||
|
Loading…
x
Reference in New Issue
Block a user