filter/source/pdf/impdialog.cxx | 8 ++++++++ 1 file changed, 8 insertions(+)
New commits: commit 4d3a9d4ffec4bf9765f965d92c163c94201a3c9a Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Sat May 14 13:28:06 2022 +0200 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Sat May 14 19:48:32 2022 +0200 tdf#149072: fix export PDF with PDF/UA in GUI after Index language was set Regression of a1f9fea520f5b3f5d54a284886aa531693f32e7a Make accessibility check dialog async First add of m_xDialog->response(RET_OK) fixes the bug the second one is just here to have same behaviour as before the quoted patch Change-Id: Ib24459e4e946b83172271a9097930e5977e676be Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134311 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx index d35396b40e14..bd8db83692a0 100644 --- a/filter/source/pdf/impdialog.cxx +++ b/filter/source/pdf/impdialog.cxx @@ -329,6 +329,14 @@ IMPL_LINK_NOARG(ImpPDFTabDialog, OkHdl, weld::Button&, void) m_xDialog->response(retValue); }); } + else + { + m_xDialog->response(RET_OK); + } + } + else + { + m_xDialog->response(RET_OK); } } else