diff --git a/KeePassKit b/KeePassKit
index becc34d6..40c91505 160000
--- a/KeePassKit
+++ b/KeePassKit
@@ -1 +1 @@
-Subproject commit becc34d6f15b8c14ebdf9a8020ac4b58002d55db
+Subproject commit 40c91505140fa6585bcae0a49d2688640747ff57
diff --git a/MacPass/Base.lproj/InspectorView.xib b/MacPass/Base.lproj/InspectorView.xib
index 6808ec9f..66d02b5e 100644
--- a/MacPass/Base.lproj/InspectorView.xib
+++ b/MacPass/Base.lproj/InspectorView.xib
@@ -133,11 +133,65 @@
@@ -202,7 +256,6 @@
{{0, 31}, {293, 399}}
-
_NS:9
@@ -400,11 +453,7 @@
-2080374784
134217728
Generate
-
- LucidaGrande
- 12
- 16
-
+
_NS:9
-2038153216
@@ -1950,6 +1999,70 @@
662
+
+
+ 5
+ 0
+
+ 6
+ 1
+
+ 8
+
+ 1000
+
+ 6
+ 24
+ 3
+
+
+
+ 6
+ 0
+
+ 6
+ 1
+
+ 20
+
+ 1000
+
+ 8
+ 29
+ 3
+
+
+
+ 11
+ 0
+
+ 11
+ 1
+
+ 0.0
+
+ 1000
+
+ 6
+ 24
+ 2
+
+
+
+ 10
+ 0
+
+ 10
+ 1
+
+ 0.0
+
+ 1000
+
+ 5
+ 22
+ 2
+
8
@@ -1966,6 +2079,8 @@
40
1
+
+
@@ -4544,6 +4659,52 @@
+
+ 2313
+
+
+
+
+
+
+
+ 2314
+
+
+
+
+ 2315
+
+
+
+
+ 2317
+
+
+
+
+
+
+
+ 2318
+
+
+
+
+ 2319
+
+
+
+
+ 2320
+
+
+
+
+ 2321
+
+
+
@@ -4920,6 +5081,16 @@
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
+
+ com.apple.InterfaceBuilder.CocoaPlugin
+ com.apple.InterfaceBuilder.CocoaPlugin
+ com.apple.InterfaceBuilder.CocoaPlugin
+
+ com.apple.InterfaceBuilder.CocoaPlugin
+ com.apple.InterfaceBuilder.CocoaPlugin
+ com.apple.InterfaceBuilder.CocoaPlugin
+ com.apple.InterfaceBuilder.CocoaPlugin
+ com.apple.InterfaceBuilder.CocoaPlugin
@@ -4954,6 +5125,10 @@
com.apple.InterfaceBuilder.CocoaPlugin
+
+
+
+
com.apple.InterfaceBuilder.CocoaPlugin
@@ -4966,7 +5141,7 @@
- 2280
+ 2321
@@ -5052,13 +5227,20 @@
MPInspectorViewController
MPViewController
+ id
id
id
+ id
+ id
id
id
id
+
+ _popUpPasswordGenerator:
+ id
+
addAttachment:
id
@@ -5067,6 +5249,14 @@
addCustomField:
id
+
+ edit:
+ id
+
+
+ finishEdit:
+ id
+
removeAttachment:
id
diff --git a/MacPass/MPInspectorViewController.m b/MacPass/MPInspectorViewController.m
index a31cdfbf..ef4cd8a3 100644
--- a/MacPass/MPInspectorViewController.m
+++ b/MacPass/MPInspectorViewController.m
@@ -68,6 +68,8 @@ enum {
- (IBAction)saveAttachment:(id)sender;
- (IBAction)addAttachment:(id)sender;
- (IBAction)removeAttachment:(id)sender;
+- (IBAction)edit:(id)sender;
+- (IBAction)finishEdit:(id)sender;
@end
@@ -376,6 +378,21 @@ enum {
}
}
+- (IBAction)edit:(id)sender {
+ [self.titleTextField setEditable:YES];
+ [self.usernameTextField setEditable:YES];
+ [[[[self windowController] document] undoManager] beginUndoGrouping];
+}
+
+- (IBAction)finishEdit:(id)sender {
+ NSUndoManager *undoManger = [[[self windowController] document] undoManager];
+ [undoManger setActionName:@"Edit"];
+ [undoManger endUndoGrouping];
+ [self.titleTextField setEditable:NO];
+ [self.usernameTextField setEditable:NO];
+
+}
+
#pragma mark Notificiations
- (void)_didChangeCurrentItem:(NSNotification *)notification {
MPDocumentWindowController *sender = [notification object];
diff --git a/MacPass/MacPass-Info.plist b/MacPass/MacPass-Info.plist
index 1a44274d..cb8016fb 100644
--- a/MacPass/MacPass-Info.plist
+++ b/MacPass/MacPass-Info.plist
@@ -48,7 +48,7 @@
CFBundleSignature
????
CFBundleVersion
- 2485
+ 2502
LSMinimumSystemVersion
${MACOSX_DEPLOYMENT_TARGET}
NSHumanReadableCopyright