mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 07:02:39 +00:00
Fixed missing changed state when trash is emptied
This commit is contained in:
@@ -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 -
|
||||
|
||||
Reference in New Issue
Block a user