|
@@ -173,7 +173,7 @@ class KMThumbnailViewController: NSViewController {
|
|
|
@objc func KMPDFViewCurrentPageDidChangedNotification(notification: NSNotification) {
|
|
|
let pdfdocument : CPDFDocument = notification.object as! CPDFDocument
|
|
|
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.layoutDocumentView()
|
|
|
self.thumbnailView.reloadData()
|
|
|
+ self.pdfCurrentPageChange()
|
|
|
}
|
|
|
}
|
|
|
|