|
|
@ -97,7 +97,7 @@ abstract class KdbxObject extends KdbxNode { |
|
|
|
set isDirty(bool dirty) { |
|
|
|
set isDirty(bool dirty) { |
|
|
|
if (dirty) { |
|
|
|
if (dirty) { |
|
|
|
times.modifiedNow(); |
|
|
|
times.modifiedNow(); |
|
|
|
if (!isDirty && dirty) { |
|
|
|
if (/*!isDirty && */ dirty) { |
|
|
|
file.dirtyObject(this); |
|
|
|
file.dirtyObject(this); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -112,7 +112,10 @@ abstract class KdbxObject extends KdbxNode { |
|
|
|
return el; |
|
|
|
return el; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void internalChangeParent(KdbxGroup parent) => _parent = parent; |
|
|
|
void internalChangeParent(KdbxGroup parent) { |
|
|
|
|
|
|
|
_parent = parent; |
|
|
|
|
|
|
|
isDirty = true; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
class KdbxUuid { |
|
|
|
class KdbxUuid { |
|
|
|