1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-09-02 18:33:16 +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() ) ); emit collectionActivated( collectionForInterface( currentPlaylistInterface() ) );
if ( !currentPlaylistInterface() ) if ( !currentPlaylistInterface() )
emit tempPageActivated(); emit tempPageActivated();
if ( !AudioEngine::instance()->playlist() )
AudioEngine::instance()->setPlaylist( currentPlaylistInterface() );
m_stack->setCurrentWidget( page->widget() ); m_stack->setCurrentWidget( page->widget() );
updateView(); updateView();
} }