diff --git a/MacPass/MPDocument.m b/MacPass/MPDocument.m index 2ddb4db2..c91afc4e 100644 --- a/MacPass/MPDocument.m +++ b/MacPass/MPDocument.m @@ -923,6 +923,8 @@ NSString *const MPDocumentGroupKey = @"MPDocumentGrou [self.undoManager removeAllActionsWithTarget:group]; } [self.trash clear]; + /* Update the change count to mark the document state as changed */ + [self updateChangeCount:NSChangeDone]; } #pragma mark -