From 11ad89dcced87c5805d6c1526c05e2b3f996c86e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20D=C3=A4schler?= Date: Fri, 18 Feb 2022 12:45:39 +0100 Subject: [PATCH] Not only closing/discarding viewed items but all, which seems to solve locked elements issues --- Outlook2013TodoAddIn/AppointmentsControl.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Outlook2013TodoAddIn/AppointmentsControl.cs b/Outlook2013TodoAddIn/AppointmentsControl.cs index e54f41b..9460784 100644 --- a/Outlook2013TodoAddIn/AppointmentsControl.cs +++ b/Outlook2013TodoAddIn/AppointmentsControl.cs @@ -387,7 +387,7 @@ namespace Outlook2013TodoAddIn this.apptCalendar.ShowWeekNumbers = this.ShowWeekNumbers; this.apptCalendar.UpdateCalendar(); - lstItems.ToList().ForEach(i => + appts.ToList().ForEach(i => { i.Close(Outlook.OlInspectorClose.olDiscard); });