From d1e99c6bc7f9cb554567e0ea3e2594dc1e72ac3e Mon Sep 17 00:00:00 2001 From: Michael Starke Date: Tue, 2 Nov 2021 10:52:50 +0100 Subject: [PATCH] Fixed second call to disable undo registration --- MacPass/MPDocument.m | 1 - 1 file changed, 1 deletion(-) diff --git a/MacPass/MPDocument.m b/MacPass/MPDocument.m index 0a137eb1..f6d4b08b 100644 --- a/MacPass/MPDocument.m +++ b/MacPass/MPDocument.m @@ -719,7 +719,6 @@ NSString *const MPDocumentGroupKey = @"MPDocumentGrou /* setting properties on entries is undoable, but we do not want to record this so disable on creation */ KPK_SCOPED_DISABLE_UNDO_BEGIN(self.undoManager); - [self.undoManager disableUndoRegistration]; newGroup.title = NSLocalizedString(@"DEFAULT_GROUP_NAME", @"Title for a newly created group"); newGroup.iconId = MPIconFolder;