1
0
Fork 0

- fixed a bug that made the program crash when the gemlog window was closed in gemini only mode.

This commit is contained in:
cage 2022-01-23 15:03:15 +01:00
parent a3a68a7486
commit 8195cba448
1 changed files with 3 additions and 1 deletions

View File

@ -1351,7 +1351,9 @@ certificate).
(focus-to-open-gemini-subscription-window))
(defun close-gemlog-window ()
(close-window-and-return-to-threads *gemini-subscription-window*))
(if *thread-window*
(close-window-and-return-to-threads *gemini-subscription-window*)
(close-window-and-return-to-message *gemini-subscription-window*)))
(defmacro with-selected-gemlog-id ((fields gemlog-id) &body body)
`(when-let* ((,fields (line-oriented-window:selected-row-fields *gemini-subscription-window*))