From: Clément Stenac Date: Sun, 20 Nov 2005 21:52:59 +0000 (+0000) Subject: Correctly select items in WX search X-Git-Tag: 0.8.4~35 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=d2d7e355a2edc4e3c1a932435813c84e65f68163;p=vlc Correctly select items in WX search --- diff --git a/modules/gui/wxwidgets/playlist.cpp b/modules/gui/wxwidgets/playlist.cpp index e6256c0bcf..e244504894 100644 --- a/modules/gui/wxwidgets/playlist.cpp +++ b/modules/gui/wxwidgets/playlist.cpp @@ -1017,6 +1017,7 @@ void Playlist::OnSearch( wxCommandEvent& WXUNUSED(event) ) { search_current = found; treectrl->EnsureVisible( found ); + treectrl->UnselectAll(); treectrl->SelectItem( found, true ); } }