mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 11:42:30 +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.undoManager removeAllActionsWithTarget:group];
|
||||||
}
|
}
|
||||||
[self.trash clear];
|
[self.trash clear];
|
||||||
|
/* Update the change count to mark the document state as changed */
|
||||||
|
[self updateChangeCount:NSChangeDone];
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark -
|
#pragma mark -
|
||||||
|
|||||||
Reference in New Issue
Block a user