Touch the notification after its elements have been set.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 25 May 2011 17:46:43 +0000 (19:46 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 25 May 2011 17:46:43 +0000 (19:46 +0200)
src/main/java/net/pterodactylus/sone/notify/ListNotification.java

index 3a79c93..74e3100 100644 (file)
@@ -110,6 +110,7 @@ public class ListNotification<T> extends TemplateNotification {
        public void setElements(Collection<? extends T> elements) {
                this.elements.clear();
                this.elements.addAll(elements);
+               touch();
        }
 
        /**