|
@@ -1526,9 +1526,9 @@ extension KMLeftSideViewController: NSTableViewDelegate, NSTableViewDataSource {
|
|
|
}
|
|
|
for idx in rowIndexes {
|
|
|
if let page = self.pdfDocument()?.page(at: UInt(idx)) {
|
|
|
- for anno in page.annotations {
|
|
|
- page.removeAnnotation(anno)
|
|
|
- }
|
|
|
+// for anno in page.annotations {
|
|
|
+// page.removeAnnotation(anno)
|
|
|
+// }
|
|
|
(self.listView?.undoManager?.prepare(withInvocationTarget: self) as AnyObject).insertPage(page, pageAt: idx)
|
|
|
// self.pdfDocument()?.removePage(at: IndexSet(integer: idx))
|
|
|
}
|