Quellcode durchsuchen

注释列表-修复空状态

OYXH\oyxh vor 2 Jahren
Ursprung
Commit
80995e4ec6
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  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;
             }
         }