Fix saving the note of a card

Fixes #3849
This commit is contained in:
Francis Lachapelle committed 2016-10-20 18:28:58 -04:00
1 parent 03661eef9e
commit f326ca5ae5
8 files changed
+75 -45

No files matched your search

+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++)
{