1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-13 20:41:58 +02:00

Avoid double-populating ScriptCollections when refreshing.

This commit is contained in:
Teo Mrnjavac 2013-04-05 23:36:50 +02:00
parent ae2ef735ed
commit 69cba83e17

View File

@ -273,7 +273,8 @@ TreeModel::reloadCollection()
if ( m_collection.isNull() )
return;
onCollectionChanged();
if ( !isLoading() )
onCollectionChanged();
}