From b5c8936a2aff61063cae82777f00c3d23f22194c Mon Sep 17 00:00:00 2001 From: michael starke Date: Thu, 8 Jun 2017 17:09:30 +0200 Subject: [PATCH] added removal of history items --- MacPass/MPDocument.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MacPass/MPDocument.m b/MacPass/MPDocument.m index e45bdaaa..cbe8a511 100644 --- a/MacPass/MPDocument.m +++ b/MacPass/MPDocument.m @@ -606,6 +606,11 @@ NSString *const MPDocumentGroupKey = @"MPDocumentGrou return; } + if(node.asEntry.isHistory) { + [self.historyEntry removeHistoryEntry:node.asEntry]; + return; + } + if(!self.tree.metaData.useTrash) { /* Display warning about permanently removing items! */ }