mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-17 02:49:23 +00:00
Enabled version browsing when database is locked
This commit is contained in:
@@ -890,6 +890,10 @@ NSString *const MPDocumentGroupKey = @"MPDocumentGrou
|
|||||||
KPKGroup *targetGroup = targetGroups.count == 1 ? targetGroups.firstObject : nil;
|
KPKGroup *targetGroup = targetGroups.count == 1 ? targetGroups.firstObject : nil;
|
||||||
|
|
||||||
if(self.encrypted || self.isReadOnly) {
|
if(self.encrypted || self.isReadOnly) {
|
||||||
|
if(anItem.action == @selector(revertDocumentToSaved:) ||
|
||||||
|
anItem.action == @selector(browseDocumentVersions:)) {
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user