summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorGökay Şatır <gokay.satir@collabora.com>2021-03-14 12:36:30 +0300
committerGökay ŞATIR <gokaysatir@collabora.com>2021-03-15 11:51:57 +0100
commitd7dcecb76b15e1df9a1f3afaf56164a8bf597b71 (patch)
treea59f148d7aab1065fbef67a0e0845d70f86a3068 /sc
parent90267d3dee8c0afe937c9aecb8561f6f158977f9 (diff)
Calc: Update selected cell range before calculating the selection area.
Change-Id: I7a814be03acb246e1eb9d68425418ee1357510fd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112472 Tested-by: Jenkins Reviewed-by: Dennis Francis <dennis.francis@collabora.com> Reviewed-by: Gökay ŞATIR <gokaysatir@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112487 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/gridwin.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 35bce5d35625..a7ae6626325a 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -5883,6 +5883,7 @@ void ScGridWindow::UpdateKitSelection(const std::vector<tools::Rectangle>& rRect
}
ScTabViewShell* pViewShell = pViewData->GetViewShell();
+ pViewShell->UpdateInputHandler();
OString sBoundingBoxString = "EMPTY";
if (!aBoundingBox.IsEmpty())
sBoundingBoxString = aBoundingBox.toString();