From 6422353d54643656091a4570fe8b949d8199264f Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Sun, 27 Feb 2011 03:12:33 +0100 Subject: [PATCH] * Only activate a playlist when manually starting a track from it. --- src/libtomahawk/playlist/playlistmanager.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/libtomahawk/playlist/playlistmanager.cpp b/src/libtomahawk/playlist/playlistmanager.cpp index c2425aa78..b9eb4b5ae 100644 --- a/src/libtomahawk/playlist/playlistmanager.cpp +++ b/src/libtomahawk/playlist/playlistmanager.cpp @@ -533,7 +533,10 @@ PlaylistManager::setPage( ViewPage* page, bool trackHistory ) emit collectionActivated( collectionForInterface( currentPlaylistInterface() ) ); if ( !currentPlaylistInterface() ) emit tempPageActivated(); - + + if ( !AudioEngine::instance()->playlist() ) + AudioEngine::instance()->setPlaylist( currentPlaylistInterface() ); + m_stack->setCurrentWidget( page->widget() ); updateView(); }