1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-13 01:24:11 +02:00

Check if album is already loaded before reloading it

This commit is contained in:
Uwe L. Korn
2014-07-05 22:27:34 +01:00
parent eab30f2e47
commit c52a6634c2

View File

@@ -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?
{