I am using a QTableWidget. On the cellChanged()-signal I add or update a row in a sqlite database. After executing my SQL statements i want to add a button/CellWidget to an item in this row. As this is the change of a cell, it, of course, changes the content of the item and creates a loop.
How do i avoid this loop?