vcl/source/app/salvtables.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit f9aa206a7eb4dc625567925e86024eacb2a7436a
Author:     Caolán McNamara <[email protected]>
AuthorDate: Sun Feb 28 19:49:52 2021 +0000
Commit:     Andras Timar <[email protected]>
CommitDate: Sat Mar 19 23:01:21 2022 +0100

    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 <[email protected]>
    (cherry picked from commit 52f9caa248ff3893c6c36c5730e0210c3ad21189)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131740
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Andras Timar <[email protected]>

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,

Reply via email to