MemoryHabitList: Inherit parent's order

Fixes #598
This commit is contained in:
2020-08-23 07:41:42 -05:00
parent d2dc756a34
commit 8067fd5313
2 changed files with 13 additions and 2 deletions

View File

@@ -55,6 +55,7 @@ public class MemoryHabitList extends HabitList
super(matcher);
this.parent = parent;
this.comparator = comparator;
this.order = parent.order;
parent.getObservable().addListener(this::loadFromParent);
loadFromParent();
}