From e4f8d426bec1a788017bc02379b6b295ff5c5582 Mon Sep 17 00:00:00 2001 From: Jakub Melka Date: Sat, 28 Aug 2021 17:23:22 +0200 Subject: [PATCH] Bugfix: document reading doesnt work --- Pdf4QtViewer/pdfprogramcontroller.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Pdf4QtViewer/pdfprogramcontroller.cpp b/Pdf4QtViewer/pdfprogramcontroller.cpp index e4f6c2f..b88b325 100644 --- a/Pdf4QtViewer/pdfprogramcontroller.cpp +++ b/Pdf4QtViewer/pdfprogramcontroller.cpp @@ -573,6 +573,11 @@ void PDFProgramController::finishInitialization() { readSettings(ActionSettings); + if (m_textToSpeech) + { + m_textToSpeech->setSettings(m_settings); + } + updatePageLayoutActions(); m_mainWindowInterface->updateUI(true); onViewerSettingsChanged();