fix bug that dropdown list of combox may excess screen

This commit is contained in:
Jinhao
2017-10-20 04:19:35 +08:00
parent 24bbfc6493
commit 94ab3b9f78
3 changed files with 82 additions and 44 deletions

View File

@@ -4168,6 +4168,7 @@ namespace nana
{
if (sel)
{
//Deselects the previously selected item.
lister.cancel_others_if_single_enabled(true, abs_item_pos);
essence_->lister.latest_selected_abs = abs_item_pos;
}