Browse Source

注释-与填写签名联动部分

OYXH\oyxh 1 year ago
parent
commit
e333beec9d
1 changed files with 4 additions and 3 deletions
  1. 4 3
      PDF Office/ViewModels/Tools/AnnotToolContentViewModel.Command.cs

+ 4 - 3
PDF Office/ViewModels/Tools/AnnotToolContentViewModel.Command.cs

@@ -366,13 +366,14 @@ namespace PDF_Master.ViewModels.Tools
         //选中和非选中注释
         private void PDFViewer_AnnotActiveHandler(object sender, AnnotAttribEvent e)
         {
-            if (e == null)
-            {
-                if (viewContentViewModel.CurrentBar != "TabItemAnnotation")
+            if (viewContentViewModel.CurrentBar != "TabItemAnnotation")
                 {
                     //viewContentViewModel.SelectedPrpoertyPanel("PropertyPanelContent", null);
                     return;
                 }
+            if (e == null)
+            {
+                
                 PropertyPanel.annot = null;
                 PropertyPanel.AnnotEvents = null;
                 PropertyPanel.AnnotEvent = null;