From 3c7caf81db30da3f538525d11d60a1c65b8b4ab6 Mon Sep 17 00:00:00 2001 From: Alex Wilson Date: Tue, 27 Mar 2012 23:39:34 +1300 Subject: [PATCH] Fix a bug that caused some NotificationViews to be double-shown. This bug affected views added while the window was hidden, and would result in that view not being hidden when the group was collapsed for the first time. --- src/servers/notification/AppGroupView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/servers/notification/AppGroupView.cpp b/src/servers/notification/AppGroupView.cpp index 7361bb89ab..eee5fdd938 100644 --- a/src/servers/notification/AppGroupView.cpp +++ b/src/servers/notification/AppGroupView.cpp @@ -206,7 +206,7 @@ AppGroupView::AddInfo(NotificationView* view) if (IsHidden()) Show(); - if (view->IsHidden() && !fCollapsed) + if (view->IsHidden(view) && !fCollapsed) view->Show(); }