Feb-07-2023, 07:15 PM
Necro-post. Sorry for bad form, but I discovered that running a QStyledItemDelegate in a table is supposed to happen multiple times per view. It is expected behavior. I'm not sure why, but I would assume a reimplemented initStyleOption would be called once for every cell, and then again (and maybe again after that depending on other code. So, it never was an "issue" for me, I just didn't know it is expected.