summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2018-01-26 15:53:32 +0530
committerPranav Kant <pranavk@collabora.co.uk>2018-01-26 22:29:43 +0530
commita39cefd99c40f121b60c882dba6000894b6996d9 (patch)
tree8f858c08fb7b237ed7ce836d5eb9044957549848
parent2372003d94d3c58d90f6af524e916a2aa761cee2 (diff)
lokdialog: Call LOK invalidate explicitly here
In some cases, Window::Update is called directly by the child classes. This is not good for LOK clients because they rely on 'invalidate' callbacks for painting the window. Change-Id: I05402d7597841c96a25b7f5ac4cc60dda6ec5a16
-rw-r--r--vcl/source/window/paint.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx
index 5179f5648f0f..17e6db733711 100644
--- a/vcl/source/window/paint.cxx
+++ b/vcl/source/window/paint.cxx
@@ -1299,6 +1299,7 @@ void Window::Update()
}
pUpdateWindow->ImplCallPaint(nullptr, pUpdateWindow->mpWindowImpl->mnPaintFlags);
+ pUpdateWindow->LogicInvalidate(nullptr);
if (xWindow->IsDisposed())
return;