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:
@@ -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
|
||||
|
Reference in New Issue
Block a user