From e6d45aecba7347f1c3bc60eeb34c4d1f6214f82e Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Thu, 1 Nov 2012 11:09:33 -0700 Subject: [PATCH] Fixed a bug where moving to the end of a list wouldn't update the indentation correctly --- .../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 64f21c77e..62af4b8e1 100644 --- a/astrid/plugin-src/com/todoroo/astrid/subtasks/AstridOrderedListUpdater.java +++ b/astrid/plugin-src/com/todoroo/astrid/subtasks/AstridOrderedListUpdater.java @@ -240,6 +240,7 @@ public abstract class AstridOrderedListUpdater { parent.children.remove(moveThis); treeRoot.children.add(moveThis); moveThis.parent = treeRoot; + moveThis.indent = 0; writeSerialization(list, serializeTree()); applyToFilter(filter); }