Browse files

Avoid double-populating ScriptCollections when refreshing.

  • Loading branch information...
1 parent ae2ef73 commit 69cba83e17edcb57ec4d78152f859aab11a9adcf @teo teo committed Apr 5, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/libtomahawk/playlist/TreeModel.cpp
View
3 src/libtomahawk/playlist/TreeModel.cpp
@@ -273,7 +273,8 @@ TreeModel::reloadCollection()
if ( m_collection.isNull() )
return;
- onCollectionChanged();
+ if ( !isLoading() )
+ onCollectionChanged();
}

0 comments on commit 69cba83

Please sign in to comment.