From: David ‘Bombe’ Roden Date: Sat, 18 Dec 2010 01:06:54 +0000 (+0100) Subject: Remove ticker object when sone-is-locked notification is shown. X-Git-Tag: beta-freefall-0.6.2-1~180 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=07d69b4c3ca01686693b52b11d9ac4f560a5215a Remove ticker object when sone-is-locked notification is shown. --- diff --git a/src/main/java/net/pterodactylus/sone/web/WebInterface.java b/src/main/java/net/pterodactylus/sone/web/WebInterface.java index f559318..6248d0f 100644 --- a/src/main/java/net/pterodactylus/sone/web/WebInterface.java +++ b/src/main/java/net/pterodactylus/sone/web/WebInterface.java @@ -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");