sc/source/ui/view/tabview3.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 76e4e8c07188e85020d301c4997a5d5bf1d3e510 Author: Tünde Tóth <toth.tu...@nisz.hu> AuthorDate: Mon Feb 22 16:49:19 2021 +0100 Commit: Gabor Kelemen <kelemen.gab...@nisz.hu> CommitDate: Mon Jun 28 17:14:49 2021 +0200 tdf#140599 calc UI: fix row and column highlight The row and column headers lost their highlighting when selection moved over a filtered row. Change-Id: Ic416a6183710bbc84fe47a8b2de32ca86bafc11f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111371 Tested-by: Jenkins Tested-by: Balazs Varga <varga.bala...@nisz.hu> Reviewed-by: Balazs Varga <varga.bala...@nisz.hu> (cherry picked from commit cd6d3a3d434e39c250418ed5547ff3af1b0f7482) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117988 Tested-by: Gabor Kelemen <kelemen.gab...@nisz.hu> Reviewed-by: Gabor Kelemen <kelemen.gab...@nisz.hu> diff --git a/sc/source/ui/view/tabview3.cxx b/sc/source/ui/view/tabview3.cxx index bdb78e9c2e98..22c1b768ec11 100644 --- a/sc/source/ui/view/tabview3.cxx +++ b/sc/source/ui/view/tabview3.cxx @@ -187,7 +187,8 @@ void ScTabView::UpdateAutoFillMark(bool bFromPaste) { // single selection or cursor ScRange aMarkRange; - bool bMarked = (aViewData.GetSimpleArea( aMarkRange ) == SC_MARK_SIMPLE); + ScMarkType eMarkType = aViewData.GetSimpleArea(aMarkRange); + bool bMarked = eMarkType == SC_MARK_SIMPLE || eMarkType == SC_MARK_SIMPLE_FILTERED; for (sal_uInt16 i = 0; i < 4; i++) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits