ocarina: Refresh queue when changed
I want the gui to be consistent with the internal state of the queue.
This commit is contained in:
parent
5d336d4815
commit
45f293c6fa
|
@ -41,3 +41,7 @@ callbacks.on_load_playlist = on_load_playlist
|
||||||
def on_load_library():
|
def on_load_library():
|
||||||
library.refresh()
|
library.refresh()
|
||||||
callbacks.on_new_source = on_load_library
|
callbacks.on_new_source = on_load_library
|
||||||
|
|
||||||
|
def on_queue_changed():
|
||||||
|
queue.refresh()
|
||||||
|
callbacks.on_queue_changed = on_queue_changed
|
||||||
|
|
Loading…
Reference in New Issue
Block a user