瀏覽代碼

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

tangchao 10 月之前
父節點
當前提交
646eb22dd2
共有 1 個文件被更改,包括 4 次插入0 次删除
  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];