@@ -111,7 +111,7 @@ extension KMSecurityView {
if enabled {
if model.ownerPasswordOn {
- if (!model.ownerPassword.isEmpty && (!model.printAllowed || !model.editAllowed)) {
+ if model.ownerPassword.count == 0 || (model.printAllowed && model.editAllowed) {
enabled = false
}