EditHabitCommand: Notify listeners

This commit is contained in:
2020-12-24 10:49:28 -06:00
parent cf2989d587
commit 0f2f010f94

View File

@@ -80,6 +80,7 @@ public class EditHabitCommand implements Command
habit.copyFrom(model); habit.copyFrom(model);
habitList.update(habit); habitList.update(habit);
habit.getObservable().notifyListeners();
if (hasFrequencyChanged || hasTargetChanged) if (hasFrequencyChanged || hasTargetChanged)
habit.invalidateNewerThan(Timestamp.ZERO); habit.invalidateNewerThan(Timestamp.ZERO);