Set the low and view color on construction, and set the B_WILL_DRAW flag
too, since we can't do anything without it. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23909 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
c9aadc4f63
commit
e4f975d47a
@ -266,6 +266,12 @@ TermView::_InitObject(int32 argc, const char **argv)
|
||||
if (status < B_OK)
|
||||
return status;
|
||||
|
||||
// We need this
|
||||
SetFlags(Flags() | B_WILL_DRAW);
|
||||
|
||||
SetLowColor(fTextBackColor);
|
||||
SetViewColor(fTextBackColor);
|
||||
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user