mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-08 07:07:05 +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 );
|
view->setTreeModel( model );
|
||||||
|
|
||||||
if ( !collection.isNull() )
|
|
||||||
view->setEmptyTip( collection->emptyText() );
|
|
||||||
|
|
||||||
model->addCollection( collection );
|
model->addCollection( collection );
|
||||||
setPage( view );
|
setPage( view );
|
||||||
|
|
||||||
|
if ( !collection.isNull() )
|
||||||
|
view->setEmptyTip( collection->emptyText() );
|
||||||
|
|
||||||
m_collectionViews.insert( collection, view );
|
m_collectionViews.insert( collection, view );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user