Only set the value if it's changed.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3706 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2005-09-21 07:36:09 +00:00
parent c9bd489c0b
commit 51acbb09f4
@@ -103,7 +103,7 @@ public abstract class FieldEditor extends JPanel
}
// submit an attribute changed event with the new value
if (value != null) {
if (!ObjectUtil.equals(value, getValue())) {
try {
_object.changeAttribute(_field.getName(), value);
} catch (ObjectAccessException oae) {