From e4f975d47a17df95beb73056534808d482bcab89 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Thu, 7 Feb 2008 13:30:39 +0000 Subject: [PATCH] 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 --- src/apps/terminal/TermView.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/apps/terminal/TermView.cpp b/src/apps/terminal/TermView.cpp index ef2807a46f..e7798fd87c 100644 --- a/src/apps/terminal/TermView.cpp +++ b/src/apps/terminal/TermView.cpp @@ -265,7 +265,13 @@ TermView::_InitObject(int32 argc, const char **argv) status = _AttachShell(fShell); if (status < B_OK) return status; - + + // We need this + SetFlags(Flags() | B_WILL_DRAW); + + SetLowColor(fTextBackColor); + SetViewColor(fTextBackColor); + return B_OK; }