Refactored Undo/Redo

This commit is contained in:
michael starke
2013-07-09 21:58:28 +02:00
parent 6ba8b1445d
commit fb0887ebf0
17 changed files with 237 additions and 151 deletions

View File

@@ -323,7 +323,7 @@ enum {
MPDocument *document = [[self windowController] document];
NSUInteger index = [sender tag];
Kdb4Entry *entry = (Kdb4Entry *)self.selectedEntry;
[document entry:entry removeStringField:(entry.stringFields)[index]];
[document removeStringField:(entry.stringFields)[index] formEntry:entry];
}
- (IBAction)saveAttachment:(id)sender {