mirror of https://codeberg.org/cage/tinmop/
- prevented crash when printing a notification after deletion.
This commit is contained in:
parent
f0862e3903
commit
8c48c9a567
|
@ -1723,9 +1723,9 @@
|
||||||
(api-client:delete-all-notifications
|
(api-client:delete-all-notifications
|
||||||
(lambda (notification)
|
(lambda (notification)
|
||||||
(with-enqueued-process ()
|
(with-enqueued-process ()
|
||||||
(let* ((message (format nil
|
(let* ((message (tui:make-tui-string (format nil
|
||||||
(_ "Deleting: ~a")
|
(_ "Deleting: ~a")
|
||||||
(api-client:notification->text notification)))
|
(api-client:notification->text notification))))
|
||||||
(row (make-instance 'line-oriented-window:line
|
(row (make-instance 'line-oriented-window:line
|
||||||
:fields (list :original-object notification)
|
:fields (list :original-object notification)
|
||||||
:normal-text message
|
:normal-text message
|
||||||
|
|
Loading…
Reference in New Issue