mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-23 06:49:32 +00:00
add revertToHistoryEntry action
This commit is contained in:
@@ -32,7 +32,7 @@ NSString *const MPDocumentHideEntryHistoryNotification = @"MPDocumentHideEntryH
|
||||
object:self];
|
||||
}
|
||||
|
||||
- (void)restoreEntry:(KPKEntry *)entry toEntry:(KPKEntry *)historyEntry {
|
||||
- (void)revertEntry:(KPKEntry *)entry toEntry:(KPKEntry *)historyEntry {
|
||||
[entry revertToEntry:historyEntry];
|
||||
[self.undoManager setActionName:NSLocalizedString(@"RESTORE_HISTORY_ENTRY", "Action to restore and Entry to a previous state of it's history")];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user