Commit 0adb9ceb authored by Ilkka Ollakka's avatar Ilkka Ollakka

qt4: rebuild tree on updateTreeItem

This seems to fix #3114 maybe some other tickets too
parent 3b2885fe
......@@ -803,7 +803,8 @@ void PLModel::updateChildren( playlist_item_t *p_node, PLItem *root )
void PLModel::updateTreeItem( PLItem *item )
{
if( !item ) return;
emit dataChanged( index( item, 0 ) , index( item, columnCount( QModelIndex() ) ) );
rebuild();
//emit dataChanged( index( item, 0 ) , index( item, columnCount( QModelIndex() ) ) );
}
/************************* Actions ******************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment