]> git.sesse.net Git - vlc/commit
skins2: playlist, fix selection issue
authorErwan Tulou <erwan10@videolan.org>
Tue, 10 Aug 2010 16:45:36 +0000 (18:45 +0200)
committerErwan Tulou <erwan10@videolan.org>
Tue, 10 Aug 2010 16:54:36 +0000 (18:54 +0200)
commit0a29e83bbd79ca0a4e2c634808a3e350bd04090a
treeb4565341677602e37a2b86bbe16d259f4a21ca25
parente866693d12668857fe05564e64c7b73b1240e38b
skins2: playlist, fix selection issue

selected items may not be erased (e.g ready-only items). Compute the new
lastSelected only if no more selection exists.

This fixes the extra selection popping up when one tries to
erase the media library for instance.
modules/gui/skins2/controls/ctrl_tree.cpp