summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2020-07-20 12:29:44 +0200
committerSzymon Kłos <szymon.klos@collabora.com>2020-07-20 13:05:55 +0200
commiteb1184c3a55489d1bf4723edd938944f405fdc77 (patch)
tree7f2b26787ba67ae0bf00ebb0721a94c795d3f425
parentMake InsertBreak dialog async (diff)
downloadcore-eb1184c3a55489d1bf4723edd938944f405fdc77.tar.gz
core-eb1184c3a55489d1bf4723edd938944f405fdc77.zip
Make Title Page dialog async
Change-Id: I5d7b3b494e874a5107f4977fb7d93802b241f833 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99036 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
-rw-r--r--sw/source/uibase/shells/basesh.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx
index d06c3db27483..37ec78c3762e 100644
--- a/sw/source/uibase/shells/basesh.cxx
+++ b/sw/source/uibase/shells/basesh.cxx
@@ -2529,7 +2529,9 @@ void SwBaseShell::ExecDlg(SfxRequest &rReq)
{
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
ScopedVclPtr<VclAbstractDialog> pDlg(pFact->CreateTitlePageDlg(pMDI));
- pDlg->Execute();
+ VclAbstractDialog::AsyncContext aContext;
+ aContext.maEndDialogFn = [](sal_Int32){};
+ pDlg->StartExecuteAsync(aContext);
}
break;
case FN_FORMAT_PAGE_DLG: