PyQt4 TableWidget.itemChanged causes function to fire multiple times
<p>I have a MySql database that I am viewing with tableWidget. I am trying to update the database when the item inside the cell changes. It's working, however, when the database refreshes the update function gets called for every cell that is refreshed because as cells are getting created they all change. </p>

<p>I am using:</p>

<pre><code>self.tableWidget.itemChanged.connect(self.update)
</code></pre>

<p>Is there something else I should be using so that the function fires only when the USER changes the item.?</p>