From 3aca3cadf501de885ee3b360be7c4c4e1300c4de Mon Sep 17 00:00:00 2001 From: michael starke Date: Fri, 8 Sep 2017 11:43:25 +0200 Subject: [PATCH] Added button to toggle protected state on custom fields --- MacPass/Base.lproj/EntryInspectorView.xib | 22 ++++++++++++++++++---- MacPass/EntryView.xib | 2 +- MacPass/MPCustomFieldTableCellView.h | 1 + 3 files changed, 20 insertions(+), 5 deletions(-) diff --git a/MacPass/Base.lproj/EntryInspectorView.xib b/MacPass/Base.lproj/EntryInspectorView.xib index 6597ca82..9447459c 100644 --- a/MacPass/Base.lproj/EntryInspectorView.xib +++ b/MacPass/Base.lproj/EntryInspectorView.xib @@ -1,5 +1,5 @@ - + @@ -98,7 +98,7 @@ - + @@ -811,7 +811,7 @@ - + @@ -843,6 +843,16 @@ + @@ -852,11 +862,14 @@ - + + + + @@ -882,6 +895,7 @@ + diff --git a/MacPass/EntryView.xib b/MacPass/EntryView.xib index 90d7e190..838c9bd0 100644 --- a/MacPass/EntryView.xib +++ b/MacPass/EntryView.xib @@ -1,5 +1,5 @@ - + diff --git a/MacPass/MPCustomFieldTableCellView.h b/MacPass/MPCustomFieldTableCellView.h index 4a88fac3..cb5cb27f 100644 --- a/MacPass/MPCustomFieldTableCellView.h +++ b/MacPass/MPCustomFieldTableCellView.h @@ -28,6 +28,7 @@ @property (nonatomic, weak) IBOutlet NSTextField *labelTextField; @property (nonatomic, weak) IBOutlet NSTextField *valueTextField; @property (nonatomic, weak) IBOutlet NSButton *removeButton; +@property (nonatomic, weak) IBOutlet NSButton *protectedButton; @property (weak) id observer;