mirror of https://codeberg.org/cage/tinmop/
- [GUI] prevented closing bookmark window if validation failed when adding a bookmark.
This commit is contained in:
parent
6e6106e996
commit
7ae9cdae59
|
@ -15,10 +15,10 @@
|
||||||
(ev:with-enqueued-process-and-unblock ()
|
(ev:with-enqueued-process-and-unblock ()
|
||||||
(comm:make-request :gemini-bookmark-add 1 iri section description)
|
(comm:make-request :gemini-bookmark-add 1 iri section description)
|
||||||
(gui-goodies:info-dialog toplevel
|
(gui-goodies:info-dialog toplevel
|
||||||
(format nil (_ "The address ~a has been bookmarked") iri)))
|
(format nil (_ "The address ~a has been bookmarked") iri))
|
||||||
|
(gui:exit-from-toplevel toplevel))
|
||||||
(gui-goodies:error-dialog toplevel
|
(gui-goodies:error-dialog toplevel
|
||||||
(format nil (_ "~s is not a valid gemini address.") iri)))
|
(format nil (_ "~s is not a valid gemini address.") iri))))))
|
||||||
(gui:exit-from-toplevel toplevel))))
|
|
||||||
|
|
||||||
(defun init-window (master iri)
|
(defun init-window (master iri)
|
||||||
(gui:with-toplevel (toplevel :master master :title (_ "Streams"))
|
(gui:with-toplevel (toplevel :master master :title (_ "Streams"))
|
||||||
|
|
Loading…
Reference in New Issue