EditHabitCommand: Notify listeners
This commit is contained in:
parent
cf2989d587
commit
0f2f010f94
@ -80,6 +80,7 @@ public class EditHabitCommand implements Command
|
||||
|
||||
habit.copyFrom(model);
|
||||
habitList.update(habit);
|
||||
habit.getObservable().notifyListeners();
|
||||
|
||||
if (hasFrequencyChanged || hasTargetChanged)
|
||||
habit.invalidateNewerThan(Timestamp.ZERO);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user