Browse Source

注释列表删除所有注释,Undo,注释撤回后,清空选中

OYXH\oyxh 1 year ago
parent
commit
e45a16fc56
1 changed files with 2 additions and 0 deletions
  1. 2 0
      PDF Office/ViewModels/ViewContentViewModel.cs

+ 2 - 0
PDF Office/ViewModels/ViewContentViewModel.cs

@@ -2397,6 +2397,8 @@ namespace PDF_Master.ViewModels
         private void Undo()
         {
             PDFViewer.UndoManager.Undo();
+            PDFViewer.DisableClearSelectAnnot(false);
+            PDFViewer.ClearSelectAnnots();
         }
 
         private void Redo()