Fix saving the note of a card

Fixes #3849
This commit is contained in:
Francis Lachapelle
2016-10-20 18:28:58 -04:00
parent 03661eef9e
commit f326ca5ae5
8 changed files with 75 additions and 45 deletions
+3
View File
@@ -861,8 +861,11 @@ convention:
- (void) setNotes: (NSArray *) newNotes
{
NSArray *elements;
NSUInteger count, max;
elements = [self childrenWithTag: @"note"];
[self removeChildren: elements];
max = [newNotes count];
for (count = 0; count < max; count++)
{