summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2021-05-05 09:09:54 +0200
committerAndras Timar <andras.timar@collabora.com>2021-05-12 10:51:48 +0200
commit3a47fbe7624d5a959d54daa0c4822a79cbdc0044 (patch)
tree6af801bf6f950f5cd19ae02fded3aad4d5d611f0
parent2d2d3b7ab99b224fbca1f7dc68dfdaf5e48449a2 (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();
}
}