[Libreoffice-commits] core.git: Branch 'libreoffice-7-2' - sc/source
Samuel Mehrbrodt (via logerrit)
logerrit at kemper.freedesktop.org
Fri Sep 24 16:31:53 UTC 2021
sc/source/ui/view/gridwin.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit fde8d9247d80480e2c5a3c877742c851c07ed47e
Author: Samuel Mehrbrodt <samuel.mehrbrodt at allotropia.de>
AuthorDate: Tue Sep 21 16:28:30 2021 +0200
Commit: Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Fri Sep 24 18:31:13 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>
(cherry picked from commit e752ce56b51c832dbea1e7f20e3b6671d99df990)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122582
Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 40efbbb5e6e3..9edc1d29af64 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -957,7 +957,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();
rControl.terminateAllPopupMenus();
More information about the Libreoffice-commits
mailing list