sw/source/uibase/uiview/view2.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit f6c00b4ec0c3d111a616673cc33a4f5e9b9657a5 Author: Szymon Kłos <[email protected]> AuthorDate: Mon Jul 20 12:42:36 2020 +0200 Commit: Szymon Kłos <[email protected]> CommitDate: Mon Jul 20 13:06:05 2020 +0200 Make Line Numbering dialog async Change-Id: I196008ec58feab9d9a2e41c8901ed5d5a2fc9b4c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99037 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Szymon Kłos <[email protected]> diff --git a/sw/source/uibase/uiview/view2.cxx b/sw/source/uibase/uiview/view2.cxx index 2885fa0af8e2..2691214240e1 100644 --- a/sw/source/uibase/uiview/view2.cxx +++ b/sw/source/uibase/uiview/view2.cxx @@ -556,7 +556,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 [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
