Fixed the crashing bug with BAlerts - have I already said that this code is a mess?

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13740 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-07-18 09:22:34 +00:00
parent e98e8fe256
commit 0e430ce96e
+1 -1
View File
@@ -584,7 +584,7 @@ Workspace::HideWinBorder(WinBorder *winBorder)
case B_MODAL_APP:
{
// if a subset modal, then remove from Workspace's list.
if (!winBorder->App()->fAppSubWindowList.HasItem(winBorder)) {
if (winBorder->App()->fAppSubWindowList.HasItem(winBorder)) {
ListData* toast = HasItem(winBorder);
if (toast) {
RemoveItem(toast);