This is a change in behavior in Qt 6. And its not clear to me why its a bad thing. If I workaround it, it means you can no longer edit a cell inside a selection by clicking on it, without destroying the selection.
However, since it is a change in behavior, here you go:
https://github.com/kovidgoyal/calibr...abfea5c809fa57