added support for keyboard shortcuts for boolean attributes - #1110

This is a patch for #1110.