diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-02-28 19:49:52 +0000 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2022-03-19 23:01:21 +0100 |
commit | f9aa206a7eb4dc625567925e86024eacb2a7436a (patch) | |
tree | 6e30d2a4f31104c220245c181f1a8643689da033 | |
parent | 15eaef1fbabc9cb5f91238c6bb2e4f312c938117 (diff) |
add NoMouseUpClose to popup flags
Conflicts:
vcl/source/app/salvtables.cxx
Change-Id: Ib26f258bb00456392c41ec85a1002545433839a4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111718
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit 52f9caa248ff3893c6c36c5730e0210c3ad21189)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131740
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r-- | vcl/source/app/salvtables.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index 8ed59e9f3e6e..97330df96b58 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -6592,7 +6592,8 @@ void SalInstancePopover::popup_at_rect(weld::Widget* pParent, const tools::Recta aRect.SetRight(aPt.X()); aRect.SetBottom(aPt.Y()); - FloatWinPopupFlags nFlags = FloatWinPopupFlags::Down | FloatWinPopupFlags::GrabFocus; + FloatWinPopupFlags nFlags = FloatWinPopupFlags::Down | FloatWinPopupFlags::GrabFocus + | FloatWinPopupFlags::NoMouseUpClose; m_xPopover->EnableDocking(); DockingManager* pDockingManager = vcl::Window::GetDockingManager(); pDockingManager->SetPopupModeEndHdl(m_xPopover, |