[Libreoffice-commits] core.git: Branch 'distro/lhm/libreoffice-6-4+backports' - sc/source
Samuel Mehrbrodt (via logerrit)
logerrit at kemper.freedesktop.org
Wed Sep 29 14:16:09 UTC 2021
sc/source/ui/view/gridwin.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 96b1f4bab6144a2a3ef4d16b1041448374a7ac8b
Author: Samuel Mehrbrodt <samuel.mehrbrodt at allotropia.de>
AuthorDate: Tue Sep 21 16:28:30 2021 +0200
Commit: Thorsten Behrens <thorsten.behrens at allotropia.de>
CommitDate: Wed Sep 29 16:15:34 2021 +0200
Fix color filter popup position
popup was wrongly placed when dropdown was not in the first column
Change-Id: Id7170df233148564cba2fe2d498194b9e2b0161f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122396
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt at allotropia.de>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122580
Tested-by: Samuel Mehrbrodt <samuel.mehrbrodt at allotropia.de>
Reviewed-by: Thorsten Behrens <thorsten.behrens at allotropia.de>
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 7a84eb74405c..850edb09aa8b 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -914,7 +914,8 @@ void ScGridWindow::UpdateAutoFilterFromMenu(AutoFilterMode eMode)
}
i++;
}
- Point pos(mpAutoFilterPopup->GetSizePixel().getWidth(), 150);
+ Point pos(mpAutoFilterPopup->GetPosPixel());
+ pos.Move(150, 0);
sal_uInt16 nSelected = pColorMenu->Execute(this, pos);
pColorMenu.disposeAndClear();
mpAutoFilterPopup->terminateAllPopupMenus();
More information about the Libreoffice-commits
mailing list