1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 14:16:32 +02:00

Correct emptyTip for collection views.

This commit is contained in:
Teo Mrnjavac
2013-12-17 16:58:38 +01:00
parent 9a6b74a749
commit 3bbcefe56e

View File

@@ -311,12 +311,12 @@ ViewManager::show( const Tomahawk::collection_ptr& collection )
view->setTreeModel( model );
if ( !collection.isNull() )
view->setEmptyTip( collection->emptyText() );
model->addCollection( collection );
setPage( view );
if ( !collection.isNull() )
view->setEmptyTip( collection->emptyText() );
m_collectionViews.insert( collection, view );
}
else