mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-31 17:42:13 +02:00
* Only activate a playlist when manually starting a track from it.
This commit is contained in:
@@ -534,6 +534,9 @@ PlaylistManager::setPage( ViewPage* page, bool trackHistory )
|
|||||||
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();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user