From 0e430ce96eee1a8e8b880bed06d0a172d8f0de35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 18 Jul 2005 09:22:34 +0000 Subject: [PATCH] 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 --- src/servers/app/Workspace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/servers/app/Workspace.cpp b/src/servers/app/Workspace.cpp index 33beb04b41..b547d8a443 100644 --- a/src/servers/app/Workspace.cpp +++ b/src/servers/app/Workspace.cpp @@ -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);