@@ -1589,6 +1589,13 @@ extension KMMainViewController {
return anno.isEditable()
}
+ if action == NSSelectorFromString("changeDisplayBox:") {
+ if menuItem.tag == 0 {
+ menuItem.state = self.listView.displayBox == .mediaBox ? .on : .off
+ } else if menuItem.tag == 1 {
+ menuItem.state = self.listView.displayBox == .cropBox ? .on : .off
+ }
return true