@@ -745,7 +745,7 @@ class KMOCRPDFWindowController: NSWindowController, NSWindowDelegate, KMGOCRMana
PDFView.go(to: pdfDocument?.page(at: UInt(index-1))!)
reloadPDFData()
} else {
- currentPageLabel.stringValue = "(currentPageIndex+1)"
+ currentPageLabel.stringValue = "\((currentPageIndex ?? 0)+1)"
}