fix issue that Ctrl+A selects all items in single-selection listbox(#205)
This commit is contained in:
parent
3a927ee7fc
commit
e2910ce5d9
@ -4320,9 +4320,12 @@ namespace nana
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
case keyboard::select_all :
|
case keyboard::select_all :
|
||||||
|
if (!essence_->lister.single_status(true))
|
||||||
|
{
|
||||||
essence_->lister.select_for_all(true);
|
essence_->lister.select_for_all(true);
|
||||||
refresh(graph);
|
refresh(graph);
|
||||||
API::dev::lazy_refresh();
|
API::dev::lazy_refresh();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user