Distinguish between setData() called from code or after user edit
-
I'm pretty sure it's written in the documentation but I cannot find anything perhaps because I'm using the wrong search words.
I'm looking for a way to distinguish if a call tosetData()for aQAbstractTableModelcomes from a line of my code or when the user edited the table. -
I'm pretty sure it's written in the documentation but I cannot find anything perhaps because I'm using the wrong search words.
I'm looking for a way to distinguish if a call tosetData()for aQAbstractTableModelcomes from a line of my code or when the user edited the table. -
Hi,
Why do you need to know the difference ?
-
@Mark81 said in Distinguish between setData() called from code or after user edit:
the solution proposed by @Gojir4 did the trick.
please don't forget to mark your post as solved! Thanks