X-Git-Url: https://gitweb.fperrin.net/?p=GpsPrune.git;a=blobdiff_plain;f=tim%2Fprune%2Fundo%2FUndoDeletePhoto.java;h=b2831f0301ab32c217ec81848074e2f1213facf7;hp=cfc166271131eec1f41f6a79ba3bcfe8dd29a354;hb=ca9bdb3916f9c39adbbf95d06ac95c21dafbb4e6;hpb=63f178fd6c6b30b99a01f2a2d700963ea2dfef8b diff --git a/tim/prune/undo/UndoDeletePhoto.java b/tim/prune/undo/UndoDeletePhoto.java index cfc1662..b2831f0 100644 --- a/tim/prune/undo/UndoDeletePhoto.java +++ b/tim/prune/undo/UndoDeletePhoto.java @@ -1,6 +1,7 @@ package tim.prune.undo; import tim.prune.I18nManager; +import tim.prune.UpdateMessageBroker; import tim.prune.data.DataPoint; import tim.prune.data.Photo; import tim.prune.data.TrackInfo; @@ -61,7 +62,7 @@ public class UndoDeletePhoto implements UndoOperation else { // update needed if not already triggered by track update - inTrackInfo.triggerUpdate(); + UpdateMessageBroker.informSubscribers(); } // Ensure that photo is associated with point and vice versa _photo.setDataPoint(_point);