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@allotropia.de>
This commit is contained in:
Samuel Mehrbrodt
2021-05-19 15:40:16 +02:00
parent d79b3317d2
commit 950eb673b9
+2 -2
View File
@@ -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();