fix issue that Ctrl+A selects all items in single-selection listbox(#205)

This commit is contained in:
Jinhao 2017-05-13 08:07:57 +08:00
parent 3a927ee7fc
commit e2910ce5d9

View File

@ -4320,9 +4320,12 @@ namespace nana
return;
}
case keyboard::select_all :
essence_->lister.select_for_all(true);
refresh(graph);
API::dev::lazy_refresh();
if (!essence_->lister.single_status(true))
{
essence_->lister.select_for_all(true);
refresh(graph);
API::dev::lazy_refresh();
}
break;
default:
return;