Commit 85bbe93d authored by zorglub's avatar zorglub
Browse files

Don't expand WX Tree root - Patch by Alexander Gall. Thanks

parent 78128012
......@@ -538,7 +538,9 @@ void Playlist::UpdateTreeItem( wxTreeItemId item )
while( treectrl->GetItemParent( item ).IsOk() )
{
item = treectrl->GetItemParent( item );
treectrl->Expand( item );
if( ! (item == treectrl->GetRootItem() &&
treectrl->HasFlag( wxTR_HIDE_ROOT ) ) )
treectrl->Expand( item );
}
}
else
......
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