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>
diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx
index d619b46..e1e9275 100644
--- a/sc/source/ui/view/cellsh1.cxx
+++ b/sc/source/ui/view/cellsh1.cxx
@@ -2803,6 +2803,8 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
rMark.ResetMark();
rMark.MarkToSimple();
pTabViewShell->SelectionChanged();
}
break;
@@ -2841,6 +2843,8 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
rMark.ResetMark();
rMark.MarkToSimple();
pTabViewShell->SelectionChanged();
}
break;