From 9460610837d43fc98a03cc11449bc2c86f170313 Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Wed, 14 Nov 2012 12:16:53 -0800 Subject: [PATCH] Stupid omission is stupid --- .../com/todoroo/astrid/subtasks/AstridOrderedListUpdater.java | 1 + 1 file changed, 1 insertion(+) diff --git a/astrid/plugin-src/com/todoroo/astrid/subtasks/AstridOrderedListUpdater.java b/astrid/plugin-src/com/todoroo/astrid/subtasks/AstridOrderedListUpdater.java index 158f0f2d0..99a647851 100644 --- a/astrid/plugin-src/com/todoroo/astrid/subtasks/AstridOrderedListUpdater.java +++ b/astrid/plugin-src/com/todoroo/astrid/subtasks/AstridOrderedListUpdater.java @@ -116,6 +116,7 @@ public abstract class AstridOrderedListUpdater { // Remove node from tree, put all children under parent Node parent = node.parent; + parent.children.remove(node); for (Node child : node.children) { child.parent = parent; parent.children.add(child);