Cell color propagates to empty rows if only one row has data

It actually turned out to be simpler: not setting the table widget’s default selected row at all. Then you click the row you want details on and everything works fine after that.

Anyway, thanks for the suggestion, I’ll keep that in mind.