summaryrefslogtreecommitdiff
path: root/plugins/Toaster/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Toaster/src')
-rw-r--r--plugins/Toaster/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Toaster/src/main.cpp b/plugins/Toaster/src/main.cpp
index ccfedcefa1..66db53929e 100644
--- a/plugins/Toaster/src/main.cpp
+++ b/plugins/Toaster/src/main.cpp
@@ -63,7 +63,7 @@ int OnPreShutdown(WPARAM, LPARAM)
{
mir_cslock lck(csNotifications);
for (int i = 0; i < lstNotifications.getCount(); i++)
- lstNotifications[0].Hide();
+ lstNotifications[i].Hide();
lstNotifications.destroy();