diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2022-06-21 11:26:22 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2022-06-30 11:46:34 +0200 |
commit | eba47de3dc43fe249b7e53391a5c772c79961d4e (patch) | |
tree | a4d2274af4244ad8a79055da9e51d7541a1de277 /sc | |
parent | 8f16718731ee47535a62e61af99b43a09626c65f (diff) |
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.klos@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/gridwin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |