From 9a39c50bfde0df663ad3bfb251e747518d5fb40d Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Mon, 7 Sep 2015 15:48:39 +0000 Subject: Toaster: hide toasts on close git-svn-id: http://svn.miranda-ng.org/main/trunk@15295 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Toaster/src/toast_event_handler.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/Toaster') 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; -- cgit v1.2.3