HasBorder and HasTitle are exclusive, fix bug #2325
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25770 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
15c0cece2b
commit
62572b22a6
@ -554,8 +554,10 @@ WorkspacesWindow::MessageReceived(BMessage *message)
|
||||
|
||||
if (enable)
|
||||
SetLook(B_TITLED_WINDOW_LOOK);
|
||||
else
|
||||
else {
|
||||
SetLook(B_NO_BORDER_WINDOW_LOOK);
|
||||
fSettings->SetHasTitle(true);
|
||||
}
|
||||
|
||||
fSettings->SetHasBorder(enable);
|
||||
break;
|
||||
@ -569,8 +571,10 @@ WorkspacesWindow::MessageReceived(BMessage *message)
|
||||
|
||||
if (enable)
|
||||
SetLook(B_TITLED_WINDOW_LOOK);
|
||||
else
|
||||
else {
|
||||
SetLook(B_MODAL_WINDOW_LOOK);
|
||||
fSettings->SetHasBorder(true);
|
||||
}
|
||||
|
||||
fSettings->SetHasTitle(enable);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user