فهرست منبع

注释列表-修复空状态

OYXH\oyxh 2 سال پیش
والد
کامیت
80995e4ec6
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      PDF Office/ViewModels/BOTA/AnnotationContentViewModel.cs

+ 2 - 1
PDF Office/ViewModels/BOTA/AnnotationContentViewModel.cs

@@ -910,9 +910,10 @@ namespace PDF_Office.ViewModels.BOTA
                 ViewContentViewModel = viewContentViewModel;
                 PdfViewer = pdfview;
                 AnnotationListItems = new ObservableCollection<AnnotationHandlerEventArgs>();
-                AnnotationListItems.CollectionChanged += AnnotationListItems_CollectionChanged;
+
                 AnnotationListItems = GetDocumentAnnotionList();
                 currentAnnotationArgs.AddRange(AnnotationListItems);
+                AnnotationListItems.CollectionChanged += AnnotationListItems_CollectionChanged;
             }
         }