don't update fields when no change

This commit is contained in:
Damien Elmes 2008-10-27 18:50:36 +09:00
parent cf3f448f92
commit 31d06f661f

View file

@ -266,6 +266,8 @@ class FactEditor(object):
if value and not value.strip():
widget.setText("")
value = u""
if self.fact[field.name] == value:
return
self.fact[field.name] = value
self.fact.setModified(textChanged=True)
self.deck.setModified()