Browse Source

mark as non-dirty when converted toXml

remove-cryptography-dependency
Herbert Poul 5 years ago
parent
commit
f4b87e340c
  1. 3
      lib/src/kdbx_object.dart

3
lib/src/kdbx_object.dart

@ -44,8 +44,11 @@ abstract class KdbxNode with Changeable<KdbxNode> {
// @protected
// String text(String nodeName) => _opt(nodeName)?.text;
/// must only be called to save this object.
/// will mark this object as not dirty.
@mustCallSuper
XmlElement toXml() {
_isDirty = false;
final el = node.copy() as XmlElement;
return el;
}

Loading…
Cancel
Save