Always invalidate cache on update commands
The cache must be invalidated even when there is no PipeWire buffer.
This commit is contained in:
parent
146c9ea227
commit
7aee7c34fb
7
pw-ui.el
7
pw-ui.el
@ -122,9 +122,10 @@
|
|||||||
(forward-line (1- current-line))))
|
(forward-line (1- current-line))))
|
||||||
|
|
||||||
(defun pw-ui--update (&optional message)
|
(defun pw-ui--update (&optional message)
|
||||||
(when (get-buffer pipewire-buffer)
|
(if (get-buffer pipewire-buffer)
|
||||||
(with-current-buffer pipewire-buffer
|
(with-current-buffer pipewire-buffer
|
||||||
(pipewire-refresh)))
|
(pipewire-refresh))
|
||||||
|
(pw-lib-refresh))
|
||||||
(when message
|
(when message
|
||||||
(message message)))
|
(message message)))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user