|
@@ -367,9 +367,9 @@ class KMRightSideViewController: NSViewController,CipherTextViewDelegate {
|
|
|
self.contextBox.contentView = self.annotationProperties.view
|
|
|
}
|
|
|
let editAnnotation: CPDFAnnotation = notification.object as! CPDFAnnotation
|
|
|
-// if self.mainController?.model.rightPanelIsOpen == false {
|
|
|
- self.mainController?.toggleRightPane()
|
|
|
-// }
|
|
|
+ if self.mainController?.model.rightPanelIsOpen == false {
|
|
|
+ self.mainController?.openRightPane()
|
|
|
+ }
|
|
|
self.annotationProperties.mainController = self.mainController
|
|
|
self.annotationProperties.isClickFormSignature = true;
|
|
|
self.annotationProperties.annotations = [editAnnotation]
|