changed and if statement in AddToSubset

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6067 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adi Oanca 2004-01-14 00:17:28 +00:00
parent ac4b4fd40a
commit 533c9ed801

View File

@ -1452,8 +1452,9 @@ status_t BWindow::AddToSubset(BWindow* window){
int32 rCode;
if (window->Feel() == B_MODAL_SUBSET_WINDOW_FEEL ||
window->Feel() == B_FLOATING_SUBSET_WINDOW_FEEL){
if (window->Feel() == B_NORMAL_WINDOW_FEEL &&
(fFeel == B_MODAL_SUBSET_WINDOW_FEEL ||
fFeel == B_FLOATING_SUBSET_WINDOW_FEEL)){
Lock();
session->WriteInt32( AS_ADD_TO_SUBSET );