summaryrefslogtreecommitdiff
path: root/sc/source/ui/app
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2021-05-05 09:09:54 +0200
committerSzymon Kłos <szymon.klos@collabora.com>2021-05-10 09:00:16 +0200
commit804f15e8bd129a7458416d3373142581b032d956 (patch)
treeafd3fc431bb57b0e7eaa53f8cfbff0e0b728b532 /sc/source/ui/app
parent5295bc11e41166258fde5dc57b60f9677b5956e1 (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> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115297 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'sc/source/ui/app')
-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 a571d32fe0d7..53ae38acd27d 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -486,6 +486,7 @@ void ScInputWindow::setPosSizePixel(tools::Long nX, tools::Long nY, tools::Long
aItems.emplace_back("size", GetSizePixel().toString());
aItems.emplace_back("lines", OString::number(mxTextWindow->GetNumLines()));
pNotifier->notifyWindow(GetLOKWindowId(), "size_changed", aItems);
+ Invalidate();
}
}