@@ -215,7 +215,7 @@ extension KMMergeWindowController {
}
- let fileName = (files.first?.filePath.lastPathComponent)! + "_Merged"
+ let fileName = (files.first?.filePath.deletingPathExtension.lastPathComponent ?? "") + "_Merged"
DispatchQueue.main.async {
self.oldPDFDocument.outlineRoot = PDFOutline.init()
if allPage {