Remove ticker object when sone-is-locked notification is shown.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 18 Dec 2010 01:06:54 +0000 (02:06 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 18 Dec 2010 01:06:54 +0000 (02:06 +0100)
src/main/java/net/pterodactylus/sone/web/WebInterface.java

index f559318..6248d0f 100644 (file)
@@ -684,6 +684,7 @@ public class WebInterface implements CoreListener {
                        @SuppressWarnings("synthetic-access")
                        public void run() {
                                lockedSonesNotification.add(sone);
+                               lockedSonesTickerObjects.remove(sone);
                                notificationManager.addNotification(lockedSonesNotification);
                        }
                }, "Sone Locked Notification");