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.
This commit is contained in:
Alex Wilson
2012-04-01 11:54:24 +12:00
parent c2fbfb1d58
commit 3c7caf81db
+1 -1
View File
@@ -206,7 +206,7 @@ AppGroupView::AddInfo(NotificationView* view)
if (IsHidden())
Show();
if (view->IsHidden() && !fCollapsed)
if (view->IsHidden(view) && !fCollapsed)
view->Show();
}