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:
parent
e1ab051d75
commit
3d974786d0
@ -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() )
|
||||
|
Loading…
x
Reference in New Issue
Block a user