|
@@ -1318,7 +1318,10 @@ extension KMMainViewController {
|
|
|
}
|
|
|
if annotation != nil{
|
|
|
self.listView.activeAnnotations.removeAllObjects()
|
|
|
- self.listView.activeAnnotations.add(annotation as Any)
|
|
|
+// self.listView.activeAnnotations.add(annotation as Any)
|
|
|
+ var newAnnonations : [CPDFAnnotation] = []
|
|
|
+ newAnnonations.append(annotation!)
|
|
|
+ self.listView.updateActiveAnnotations(newAnnonations)
|
|
|
self.openRightPane()
|
|
|
}
|
|
|
// self.rightSideViewController.view.isHidden = false
|