|
@@ -173,7 +173,7 @@ class KMThumbnailViewController: NSViewController {
|
|
@objc func KMPDFViewCurrentPageDidChangedNotification(notification: NSNotification) {
|
|
@objc func KMPDFViewCurrentPageDidChangedNotification(notification: NSNotification) {
|
|
let pdfdocument : CPDFDocument = notification.object as! CPDFDocument
|
|
let pdfdocument : CPDFDocument = notification.object as! CPDFDocument
|
|
if pdfdocument.isEqual(self.listView.document) {
|
|
if pdfdocument.isEqual(self.listView.document) {
|
|
- self.pdfCurrentPageChange();
|
|
|
|
|
|
+ self.pdfCurrentPageChange()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -491,6 +491,7 @@ class KMThumbnailViewController: NSViewController {
|
|
self.listView.document.removePage(at: indexs)
|
|
self.listView.document.removePage(at: indexs)
|
|
self.listView.layoutDocumentView()
|
|
self.listView.layoutDocumentView()
|
|
self.thumbnailView.reloadData()
|
|
self.thumbnailView.reloadData()
|
|
|
|
+ self.pdfCurrentPageChange()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|