diff --git a/lib/src/kdbx_xml.dart b/lib/src/kdbx_xml.dart index 5426e37..572f77d 100644 --- a/lib/src/kdbx_xml.dart +++ b/lib/src/kdbx_xml.dart @@ -72,6 +72,9 @@ abstract class KdbxSubTextNode extends KdbxSubNode { @override void set(T value) { + if (get() == value) { + return; + } node.isDirty = true; final el = node.node.findElements(name).singleWhere((x) => true, orElse: () {