Not only closing/discarding viewed items but all, which seems to solve locked elements issues

This commit is contained in:
Markus Däschler 2022-02-18 12:45:39 +01:00
parent dc4e65e23e
commit 11ad89dcce

View File

@ -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);
});