Commit 5e367827 authored by Gildas Bazin's avatar Gildas Bazin

* modules/gui/wxwidgets/playlist.cpp: don't call treectrl->EnsureVisible()...

* modules/gui/wxwidgets/playlist.cpp: don't call treectrl->EnsureVisible() when updating a playlist item. That just makes navigation of the playlist unusable.
parent d21e9e39
......@@ -527,7 +527,11 @@ void Playlist::UpdateTreeItem( wxTreeItemId item )
if( p_playlist->status.p_item == p_item )
{
treectrl->SetItemBold( item, true );
treectrl->EnsureVisible( item );
while( treectrl->GetItemParent( item ).IsOk() )
{
item = treectrl->GetItemParent( item );
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