1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-23 09:19:41 +01:00

When double-clicking on a track in grid view, go to the track page

This commit is contained in:
Leo Franchi 2012-07-30 19:51:17 -04:00
parent 527b4906c9
commit adde983572

View File

@ -213,7 +213,7 @@ GridView::onItemActivated( const QModelIndex& index )
else if ( !item->artist().isNull() )
ViewManager::instance()->show( item->artist() );
else if ( !item->query().isNull() )
AudioEngine::instance()->playItem( playlistinterface_ptr(), item->query() );
ViewManager::instance()->show( item->query() );
}
}