use Invalidate() and UpdateIfNeeded() in BTextView::SetTextRect(). Fixes bug #571
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19824 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
1e634f4d9c
commit
ee144512ec
@ -2025,8 +2025,10 @@ BTextView::SetTextRect(BRect rect)
|
||||
|
||||
fTextRect = rect;
|
||||
|
||||
if (Window() != NULL)
|
||||
Refresh(0, fText->Length(), true, false);
|
||||
if (Window() != NULL) {
|
||||
Invalidate();
|
||||
Window()->UpdateIfNeeded();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user