The Night Light delegate has special handling to select the switch ontab, but this is done in the delegate's contentItem, rather thandirectly in the delegate. As a consequence, it only works if thecontentItem has focus, not if the delegate itself has focus, whichhappens regularly.
Instead, put the handler in the delegate directly; if focus is on theRowLayout (or elsewhere generally in the contentItem), handling willfall back to the delegate (unless overridden) anyway so this is the onlyplace where we really need it.
BUG: 500703FIXED-IN: 6.3.3