mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-13 09:34:53 +02:00
Check if album is already loaded before reloading it
This commit is contained in:
@@ -237,7 +237,8 @@ AlbumPlaylistInterface::infoSystemFinished( const QString& infoId )
|
||||
disconnect( Tomahawk::InfoSystem::InfoSystem::instance(), SIGNAL( finished( QString ) ),
|
||||
this, SLOT( infoSystemFinished( QString ) ) );
|
||||
|
||||
if ( m_queries.isEmpty() && m_mode == Mixed )
|
||||
// Add !m_finished check to not endlessly reload on an empty album.
|
||||
if ( m_queries.isEmpty() && m_mode == Mixed && !m_finished )
|
||||
{
|
||||
if ( m_collection.isNull() ) //we do a dbcmd directly, for the SuperCollection I guess?
|
||||
{
|
||||
|
Reference in New Issue
Block a user