Skip to content

Commit

Permalink
Inserted correct payload into nodes cloned with combineAgenda.
Browse files Browse the repository at this point in the history
  • Loading branch information
hdweiss committed Sep 23, 2012
1 parent 2074f00 commit 2762a43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/com/matburt/mobileorg/OrgData/OrgFileParser.java
Expand Up @@ -199,7 +199,8 @@ private void cloneChildren(OrgNode node, OrgNode parent, String blockTitle) {
clonedChild.parentId = parent.id;
clonedChild.fileId = parent.fileId;
clonedChild.level = parent.level + 1;
db.fastInsertNode(clonedChild);
long id = db.fastInsertNode(clonedChild);
db.fastInsertNodePayload(id, child.getPayload());
resolver.delete(OrgData.buildIdUri(node.id), null, null);
}
}
Expand Down

0 comments on commit 2762a43

Please sign in to comment.