summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/edit/texteng.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/edit/texteng.cxx b/vcl/source/edit/texteng.cxx
index 812b9b5e29f9..bde1b0ffb3d7 100644
--- a/vcl/source/edit/texteng.cxx
+++ b/vcl/source/edit/texteng.cxx
@@ -1499,7 +1499,8 @@ void TextEngine::UpdateViews( TextView* pCurView )
aNewPos.X() -= aOutSz.Width() - 1;
aClipRect.SetPos( aNewPos );
- pView->GetWindow()->Invalidate( aClipRect );
+ if (pView == pCurView)
+ pView->GetWindow()->Invalidate( aClipRect );
}
}