Enabled version browsing when database is locked
This commit is contained in:
parent
2956a2e7c1
commit
43e667a157
|
@ -890,6 +890,10 @@ NSString *const MPDocumentGroupKey = @"MPDocumentGrou
|
|||
KPKGroup *targetGroup = targetGroups.count == 1 ? targetGroups.firstObject : nil;
|
||||
|
||||
if(self.encrypted || self.isReadOnly) {
|
||||
if(anItem.action == @selector(revertDocumentToSaved:) ||
|
||||
anItem.action == @selector(browseDocumentVersions:)) {
|
||||
return YES;
|
||||
}
|
||||
return NO;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue