Commit 1d0df385 authored by Jonathan Matthew's avatar Jonathan Matthew

playlist-manager: always check the queue to see if we need to save

parent d15ba003
......@@ -518,6 +518,15 @@ rb_playlist_manager_is_dirty (RBPlaylistManager *mgr)
(GtkTreeModelForeachFunc) _is_dirty_playlist,
/* explicitly check the play queue */
if (dirty == FALSE) {
RBSource *queue_source;
g_object_get (mgr->priv->shell, "queue-source", &queue_source, NULL);
g_object_get (queue_source, "dirty", &dirty, NULL);
g_object_unref (queue_source);
if (!dirty)
dirty = g_atomic_int_get (&mgr->priv->dirty);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment