sw/source/uibase/uiview/view2.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 7e70a1004ac012c271ee5c22c88aeb93d0f1f6a3
Author:     Szymon Kłos <szymon.k...@collabora.com>
AuthorDate: Mon Jul 20 12:42:36 2020 +0200
Commit:     Szymon Kłos <szymon.k...@collabora.com>
CommitDate: Fri Jul 24 09:13:11 2020 +0200

    Make Line Numbering dialog async
    
    Change-Id: I196008ec58feab9d9a2e41c8901ed5d5a2fc9b4c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99037
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Szymon Kłos <szymon.k...@collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99282
    Tested-by: Jenkins

diff --git a/sw/source/uibase/uiview/view2.cxx 
b/sw/source/uibase/uiview/view2.cxx
index 13cfcc930f3b..ea7e5f60d044 100644
--- a/sw/source/uibase/uiview/view2.cxx
+++ b/sw/source/uibase/uiview/view2.cxx
@@ -542,7 +542,9 @@ void SwView::Execute(SfxRequest &rReq)
         {
             SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
             ScopedVclPtr<VclAbstractDialog> 
pDlg(pFact->CreateVclSwViewDialog(*this));
-            pDlg->Execute();
+            VclAbstractDialog::AsyncContext aContext;
+            aContext.maEndDialogFn = [](sal_Int32){};
+            pDlg->StartExecuteAsync(aContext);
             break;
         }
         case FN_EDIT_LINK_DLG:
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to