1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-19 15:29:42 +01:00

* Load playlists before showing them.

This commit is contained in:
Christian Muehlhaeuser 2013-04-26 03:13:44 +02:00
parent e1ab051d75
commit 3d974786d0

View File

@ -203,6 +203,9 @@ ViewManager::playlistForPage( ViewPage* page ) const
Tomahawk::ViewPage*
ViewManager::show( const Tomahawk::playlist_ptr& playlist )
{
if ( !playlist->loaded() )
playlist->loadRevision();
FlexibleView* view;
if ( !m_playlistViews.contains( playlist ) || m_playlistViews.value( playlist ).isNull() )