summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-02-28 19:49:52 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-03-01 10:09:13 +0100
commit52f9caa248ff3893c6c36c5730e0210c3ad21189 (patch)
tree7683fc77b35ed5b1fbc8cbcf661fb5e0fbc8e250
parentd260df3a3f54f5187644545ab15f7c29b78e1d54 (diff)
add NoMouseUpClose to popup flags
Change-Id: Ib26f258bb00456392c41ec85a1002545433839a4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111718 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--vcl/source/app/salvtables.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index 6c86215bd808..56f297ae8415 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -6641,7 +6641,8 @@ public:
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,