basctl/source/basicide/macrodlg.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit cac8694feab1ccb422294ed3e2f8b682e15835fb
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Wed Apr 15 16:57:19 2020 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Wed Apr 15 20:13:48 2020 +0200

    tdf#126828 hide macro organize dialog before launching macro editing
    
    so the macro editor isn't forced behind the window with an active dialog
    
    Change-Id: Iae89f6910a8183bcf01872eef71c04bc993f1550
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92307
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/basctl/source/basicide/macrodlg.cxx 
b/basctl/source/basicide/macrodlg.cxx
index 0fcc033ca827..2101a22efb5a 100644
--- a/basctl/source/basicide/macrodlg.cxx
+++ b/basctl/source/basicide/macrodlg.cxx
@@ -631,6 +631,8 @@ IMPL_LINK(MacroChooser, ButtonHdl, weld::Button&, rButton, 
void)
             if (m_xMacroBox->get_selected(m_xMacroBoxIter.get()))
                 aInfoItem.SetMethod(m_xMacroBox->get_text(*m_xMacroBoxIter));
             StoreMacroDescription();
+            m_xDialog->hide(); // tdf#126828 dismiss dialog before opening new 
window
+
             SfxAllItemSet aArgs( SfxGetpApp()->GetPool() );
             SfxRequest aRequest( SID_BASICIDE_APPEAR, SfxCallMode::SYNCHRON, 
aArgs );
             SfxGetpApp()->ExecuteSlot( aRequest );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to