Fixed missing changed state when trash is emptied

This commit is contained in:
Michael Starke
2018-08-16 17:02:12 +02:00
parent ccee893ba3
commit 2965530483

View File

@@ -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 -