[Libreoffice-commits] core.git: sc/source

Samuel Mehrbrodt (via logerrit) logerrit at kemper.freedesktop.org
Wed May 19 13:40:59 UTC 2021


 sc/source/ui/view/gridwin.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 950eb673b9ad4bc380b13281af577fc8c6842007
Author:     Samuel Mehrbrodt <samuel.mehrbrodt at allotropia.de>
AuthorDate: Wed May 19 14:21:27 2021 +0200
Commit:     Samuel Mehrbrodt <samuel.mehrbrodt at allotropia.de>
CommitDate: Wed May 19 15:40:16 2021 +0200

    tdf#76258 Fix color filter popup position
    
    Should be next to autofilter popup
    
    Change-Id: I2ca00fd078d18f8f5c7318115789ffe633a87dc3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115803
    Tested-by: Jenkins
    Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt at allotropia.de>

diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 408034bd74f3..0cd90461a37c 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -911,8 +911,8 @@ void ScGridWindow::UpdateAutoFilterFromMenu(AutoFilterMode eMode)
                     }
                     i++;
                 }
-
-                sal_uInt16 nSelected = pColorMenu->Execute(this, mpAutoFilterPopup->GetPosPixel());
+                Point pos(mpAutoFilterPopup->GetSizePixel().getWidth(), 150);
+                sal_uInt16 nSelected = pColorMenu->Execute(this, pos);
                 pColorMenu.disposeAndClear();
                 rControl.terminateAllPopupMenus();
 


More information about the Libreoffice-commits mailing list