FIX: unselect item with ctrl-click in ordered listbox
This commit is contained in:
parent
bde6015d73
commit
0cbe4534ff
@ -2943,7 +2943,7 @@ namespace nana
|
|||||||
if (arg.shift)
|
if (arg.shift)
|
||||||
lister.select_display_range(lister.last_selected, item_pos, sel);
|
lister.select_display_range(lister.last_selected, item_pos, sel);
|
||||||
else if (arg.ctrl)
|
else if (arg.ctrl)
|
||||||
sel = !item_proxy(essence_, item_pos).selected();
|
sel = !item_proxy(essence_, index_pair (item_pos.cat, lister.absolute(item_pos))).selected();
|
||||||
else
|
else
|
||||||
lister.select_for_all(false);
|
lister.select_for_all(false);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user