Merge branch 'hotfix-1.7.1' into develop

This commit is contained in:
Jinhao 2019-07-08 07:12:07 +08:00
commit 50d2c61b9e

View File

@ -4342,7 +4342,7 @@ namespace nana
else else
{ {
auto selected = lister.pick_items(true); 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 //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. //selected items. But these items will be unselected when the mouse is released.