Bladeren bron

Merge branch 'develop_PDFReaderProNew' of git.kdan.cc:Mac_PDF/PDF_Office into develop_PDFReaderProNew

tangchao 10 maanden geleden
bovenliggende
commit
646eb22dd2
1 gewijzigde bestanden met toevoegingen van 4 en 0 verwijderingen
  1. 4 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFListView/CPDFListView.m

+ 4 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFListView/CPDFListView.m

@@ -282,6 +282,10 @@ NSNotificationName const KMPDFViewTableAnnotationDidChangeNotification = @"KMPDF
         }
         
         BOOL highlightFormFiled = [[NSUserDefaults standardUserDefaults] boolForKey:@"kPDFViewHighlightFormFiledKey"];
+        if ([[NSUserDefaults standardUserDefaults] objectForKey:@"kPDFViewHighlightFormFiledKey"] == nil) {
+            [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"kPDFViewHighlightFormFiledKey"];
+            highlightFormFiled = YES;
+        }
 
         if (CFormToolMode == _toolMode && !highlightFormFiled) {
             [[CPDFKitConfig sharedInstance] setEnableFormFieldHighlight:highlightFormFiled];