fixed another listbox selection bug
a display position was searched for in a set of absolute positions
This commit is contained in:
parent
417071e4b5
commit
d845a82dc4
@ -4334,7 +4334,7 @@ namespace nana
|
||||
else
|
||||
{
|
||||
auto selected = lister.pick_items(true);
|
||||
if (selected.cend() != std::find(selected.cbegin(), selected.cend(), item_pos))
|
||||
if (selected.cend() != std::find(selected.cbegin(), selected.cend(), abs_item_pos))
|
||||
{
|
||||
//If the current selected one has been selected before selecting, remains the selection states for all
|
||||
//selected items. But these items will be unselected when the mouse is released.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user