From eba47de3dc43fe249b7e53391a5c772c79961d4e Mon Sep 17 00:00:00 2001 From: Szymon Kłos Date: Tue, 21 Jun 2022 11:26:22 +0200 Subject: lok: fix position for cell item list dropdown MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I911199970d8c01fcf0767b974936d077f48fc89c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136604 Tested-by: Jenkins Reviewed-by: Szymon Kłos --- sc/source/ui/view/gridwin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc') 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(pParent, this, nCol, nRow, ScFilterBoxMode::DataSelect); mpFilterBox->connect_closed(LINK(this, ScGridWindow, PopupModeEndHdl)); weld::TreeView& rFilterBox = mpFilterBox->get_widget(); -- cgit