summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTünde Tóth <toth.tunde@nisz.hu>2021-03-18 10:58:58 +0100
committerGabor Kelemen <kelemen.gabor2@nisz.hu>2021-04-22 17:33:16 +0200
commit3ae1a48d09c94d4241c241a03e5779ba3106fd37 (patch)
treeebf5c8a6b9099bf765281bb640bb6b1f44f84ec5
parent26fb144e8c77d86dd079b39bc55b0bd08a42db9c (diff)
tdf#36466 sc: update status bar at Select Visible Rows
Using Edit->Select->Select Visible Rows (Columns) Only option, update status bar to show the selected rows (in the case of Autofilter), or nothing (no AutoFilter), instead of the outdated value with the not selected hidden rows (columns). Change-Id: Ib31ea1d0cc15e57f883f5492104da490391117a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112676 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org> (cherry picked from commit 3453f2f8fce9e69cd9f2a2c6f3d7171b6e59f674) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114498 Tested-by: Gabor Kelemen <kelemen.gabor2@nisz.hu> Reviewed-by: Gabor Kelemen <kelemen.gabor2@nisz.hu>
-rw-r--r--sc/source/ui/view/cellsh1.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx
index 43c4735a5477..117ce243dad0 100644
--- a/sc/source/ui/view/cellsh1.cxx
+++ b/sc/source/ui/view/cellsh1.cxx
@@ -2789,6 +2789,8 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
rMark.ResetMark();
rMark.MarkToSimple();
+
+ pTabViewShell->SelectionChanged();
}
break;
@@ -2827,6 +2829,8 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
rMark.ResetMark();
rMark.MarkToSimple();
+
+ pTabViewShell->SelectionChanged();
}
break;