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))))
|
||||
|
||||
(defun pw-ui--update (&optional message)
|
||||
(when (get-buffer pipewire-buffer)
|
||||
(with-current-buffer pipewire-buffer
|
||||
(pipewire-refresh)))
|
||||
(if (get-buffer pipewire-buffer)
|
||||
(with-current-buffer pipewire-buffer
|
||||
(pipewire-refresh))
|
||||
(pw-lib-refresh))
|
||||
(when message
|
||||
(message message)))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user