summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2021-05-05 09:09:54 +0200
committerJan Holesovsky <kendy@collabora.com>2021-05-05 14:16:29 +0200
commit9a4a481096a53b1436fd5dbb7c1c57c9b6213dab (patch)
treef1972ad8ea3d970b3be154f6cf366b03697cb348
parentee894c2de635616f7d63f1c5bcc8795db5f31638 (diff)
Invalidate inputbar after size changed message
when canvas is resized the content is cleared Change-Id: Iee51583cd74d15add70e8c5cdf0a4fb00d8b6efb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115119 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
-rw-r--r--sc/source/ui/app/inputwin.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index b718ba7cb7a5..5decb8436ec2 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -497,6 +497,7 @@ void ScInputWindow::setPosSizePixel(long nX, long nY, long nWidth, long nHeight,
aItems.emplace_back("size", GetSizePixel().toString());
aItems.emplace_back("lines", OString::number(aTextWindow.GetNumLines()));
pNotifier->notifyWindow(GetLOKWindowId(), "size_changed", aItems);
+ Invalidate();
}
}