mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
* Fixed jumping to current track when clicking track title in AudioControls.
This commit is contained in:
@@ -248,7 +248,7 @@ AlbumModel::addFilteredCollection( const collection_ptr& collection, unsigned in
|
|||||||
|
|
||||||
Database::instance()->enqueue( QSharedPointer<DatabaseCommand>( cmd ) );
|
Database::instance()->enqueue( QSharedPointer<DatabaseCommand>( cmd ) );
|
||||||
|
|
||||||
m_title = tr( "All albums by %1" ).arg( collection->source()->friendlyName() );
|
m_title = tr( "All albums from %1" ).arg( collection->source()->friendlyName() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -786,6 +786,7 @@ PlaylistManager::showCurrentTrack()
|
|||||||
{
|
{
|
||||||
ViewPage* page = pageForInterface( AudioEngine::instance()->currentTrackPlaylist() );
|
ViewPage* page = pageForInterface( AudioEngine::instance()->currentTrackPlaylist() );
|
||||||
setPage( page );
|
setPage( page );
|
||||||
|
page->jumpToCurrentTrack();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user