Close the mail window when marking the last message as read.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40609 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
aea362af0c
commit
07ede8884c
@ -1516,12 +1516,13 @@ TMailWindow::MessageReceived(BMessage *msg)
|
||||
window->Activate();
|
||||
|
||||
//fSent = true;
|
||||
BMessage msg(B_CLOSE_REQUESTED);
|
||||
PostMessage(&msg);
|
||||
PostMessage(B_CLOSE_REQUESTED);
|
||||
}
|
||||
|
||||
SetTrackerSelectionToCurrent();
|
||||
} else {
|
||||
if (wasReadMsg)
|
||||
PostMessage(B_CLOSE_REQUESTED);
|
||||
beep();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user