|
@@ -131,8 +131,9 @@ namespace ComPDFKit.Tool.UndoManger
|
|
|
if (checkItem is GroupHistory)
|
|
|
{
|
|
|
GroupHistory groupHistory = (GroupHistory)checkItem;
|
|
|
- foreach (AnnotHistory checkAnnot in groupHistory.Histories)
|
|
|
+ foreach (IHistory checkHistory in groupHistory.Histories)
|
|
|
{
|
|
|
+ AnnotHistory checkAnnot = checkHistory as AnnotHistory;
|
|
|
if (checkAnnot == null || checkAnnotList.Contains(checkAnnot))
|
|
|
{
|
|
|
continue;
|