From 77c47fc79c1c8096c19a81a0d320e75b84857144 Mon Sep 17 00:00:00 2001 From: László Németh Date: Wed, 27 May 2015 14:26:56 +0200 Subject: tdf#91544: fix freezing of Data source window Change-Id: Ia445bedd57d99c534c9664a42fcb9cd766fcdc39 --- vcl/source/edit/texteng.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ); } } -- cgit v1.2.3