Explorar el Código

【综合】整理代码

tangchao hace 1 año
padre
commit
a798f2ba21

+ 1 - 1
PDF Office/PDF Master/Class/PDFTools/PageEdit/Window/KMPDFEditInsertPageWindow.swift

@@ -147,7 +147,7 @@ class KMPDFEditInsertPageWindow: NSWindowController {
 
                         self.pageCountLabel.stringValue = String(format: "/%ld", self.pdfDocument?.pageCount ?? 0)
                         self.byPageStepper.minValue = 1.0
-                        self.byPageStepper.maxValue = self.pdfDocument?.pageCount ?? 0
+                        self.byPageStepper.maxValue = Double(self.pdfDocument?.pageCount ?? 0)
                     }
                 }
             }