sc/source/ui/view/gridwin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit eba47de3dc43fe249b7e53391a5c772c79961d4e Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Tue Jun 21 11:26:22 2022 +0200 Commit: Szymon Kłos <szymon.k...@collabora.com> CommitDate: Thu Jun 30 11:46:34 2022 +0200 lok: fix position for cell item list dropdown Change-Id: I911199970d8c01fcf0767b974936d077f48fc89c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136604 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.k...@collabora.com> diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index 655c063174a9..c453f666acb6 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -1408,7 +1408,7 @@ void ScGridWindow::LaunchDataSelectMenu( SCCOL nCol, SCROW nRow ) aPos.AdjustX( -nSizeX ); tools::Rectangle aCellRect(aPos, Size(nSizeX, nSizeY)); - weld::Window* pParent = weld::GetPopupParent(*this, aCellRect); + weld::Window* pParent = comphelper::LibreOfficeKit::isActive() ? GetFrameWeld() : weld::GetPopupParent(*this, aCellRect); mpFilterBox = std::make_shared<ScFilterListBox>(pParent, this, nCol, nRow, ScFilterBoxMode::DataSelect); mpFilterBox->connect_closed(LINK(this, ScGridWindow, PopupModeEndHdl)); weld::TreeView& rFilterBox = mpFilterBox->get_widget();