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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user