From d6e01235e9a9367e60df801827031bb60696524e Mon Sep 17 00:00:00 2001 From: Michael Starke Date: Wed, 9 May 2018 18:32:29 +0200 Subject: [PATCH] Dropping attachment onto an entry now adds a history entry if neede. (Fixes #789) --- MacPass/MPDocument+Attachments.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MacPass/MPDocument+Attachments.m b/MacPass/MPDocument+Attachments.m index b9b776f2..8c39f3ef 100644 --- a/MacPass/MPDocument+Attachments.m +++ b/MacPass/MPDocument+Attachments.m @@ -34,7 +34,9 @@ } KPKBinary *binary = [[KPKBinary alloc] initWithContentsOfURL:location]; if(binary) { + [self willChangeModelProperty]; [anEntry addBinary:binary]; + [self didChangeModelProperty]; } }