Fixed a bug where moving to the end of a list wouldn't update the indentation correctly

pull/14/head
Sam Bosley 13 years ago
parent 7388399552
commit e6d45aecba

@ -240,6 +240,7 @@ public abstract class AstridOrderedListUpdater<LIST> {
parent.children.remove(moveThis); parent.children.remove(moveThis);
treeRoot.children.add(moveThis); treeRoot.children.add(moveThis);
moveThis.parent = treeRoot; moveThis.parent = treeRoot;
moveThis.indent = 0;
writeSerialization(list, serializeTree()); writeSerialization(list, serializeTree());
applyToFilter(filter); applyToFilter(filter);
} }

Loading…
Cancel
Save