summaryrefslogtreecommitdiff
path: root/plugins/Toaster
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-09-07 15:48:39 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-09-07 15:48:39 +0000
commit9a39c50bfde0df663ad3bfb251e747518d5fb40d (patch)
tree41619468a92943e220ef0ac96bb29312c224e42d /plugins/Toaster
parentc76cb483df20f8058deedcf5500b20ea5af98cf6 (diff)
Toaster: hide toasts on close
git-svn-id: http://svn.miranda-ng.org/main/trunk@15295 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Toaster')
-rw-r--r--plugins/Toaster/src/toast_event_handler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Toaster/src/toast_event_handler.cpp b/plugins/Toaster/src/toast_event_handler.cpp
index 4f3d5e91f9..05e9a60601 100644
--- a/plugins/Toaster/src/toast_event_handler.cpp
+++ b/plugins/Toaster/src/toast_event_handler.cpp
@@ -60,6 +60,7 @@ IFACEMETHODIMP ToastEventHandler::Invoke(_In_ IToastNotification * /*sender*/, _
IFACEMETHODIMP ToastEventHandler::Invoke(_In_ IToastNotification* /* sender */, _In_ IToastDismissedEventArgs* /*e*/)
{
+ ((callbackArg*)_arg)->notification->Hide();
mir_cslock lck(csNotifications);
lstNotifications.remove(((callbackArg*)_arg)->notification);
return S_OK;