From a4b62b6811a6e58c3479a705da259425cbb75af2 Mon Sep 17 00:00:00 2001 From: Nicolas Mailloux Date: Thu, 20 Jul 2023 22:06:03 -0400 Subject: [PATCH] How can I be that stupid --- src/reader/reader.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/reader/reader.cpp b/src/reader/reader.cpp index 13533ed..14a5aca 100644 --- a/src/reader/reader.cpp +++ b/src/reader/reader.cpp @@ -726,7 +726,7 @@ reader::~reader() } int reader::setup_book(QString book, int i, bool run_parser) { - // Parse ebook + // Parse eBook if(remount == true) { QString mount_prog ("sh"); QStringList mount_args; @@ -1849,6 +1849,7 @@ void reader::gotoPage(int pageNumber) { setup_book(book_file, mupdf::epub::epubPageNumber, true); ui->text->setText(""); ui->text->setText(epubPageContent); + global::reader::currentViewportText = ui->text->toHtml(); pagesTurned = 0; writeconfig_pagenumber(false);