|
@@ -736,9 +736,14 @@ import Cocoa
|
|
|
self.rightSideViewController?.reloadDataWithPDFView(pdfView: pdfListView, isShow: true)
|
|
|
self.openRightPane()
|
|
|
}
|
|
|
- } else if (annotations.count == 0 && pdfListView.annotationType == .unkown){
|
|
|
- self.rightSideViewController?.reloadDataWithPDFView(pdfView: pdfListView, isShow: false)
|
|
|
- self.closeRightPane()
|
|
|
+ } else if (annotations.count == 0){
|
|
|
+ if pdfListView.annotationType == .unkown {
|
|
|
+ self.rightSideViewController?.reloadDataWithPDFView(pdfView: pdfListView, isShow: false)
|
|
|
+ self.closeRightPane()
|
|
|
+ } else {
|
|
|
+ self.rightSideViewController?.reloadDataWithPDFView(pdfView: pdfListView, isShow: true)
|
|
|
+ self.openRightPane()
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|