summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLászló Németh <laszlo.nemeth@collabora.com>2015-05-27 14:26:56 +0200
committerLászló Németh <laszlo.nemeth@collabora.com>2015-05-27 14:32:41 +0200
commit77c47fc79c1c8096c19a81a0d320e75b84857144 (patch)
treef5d4cc7d994a67233541aa90ba9745826ff7ab7f
parent436b4451c6f36ca23c966e2391cfcf94091b6db7 (diff)
tdf#91544: fix freezing of Data source window
Change-Id: Ia445bedd57d99c534c9664a42fcb9cd766fcdc39
-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 );
}
}