1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-30 17:20:26 +02:00

* Only activate a playlist when manually starting a track from it.

This commit is contained in:
Christian Muehlhaeuser
2011-02-27 03:12:33 +01:00
parent 844a455824
commit 6422353d54

View File

@@ -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();
}