From aae6c56a5fbd1569e634fcfef890d254277ef45a Mon Sep 17 00:00:00 2001 From: Jakub Melka Date: Mon, 23 Dec 2019 18:00:34 +0100 Subject: [PATCH] Small fix --- PdfForQtViewer/pdfviewermainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/PdfForQtViewer/pdfviewermainwindow.cpp b/PdfForQtViewer/pdfviewermainwindow.cpp index d0a6797..b7f552d 100644 --- a/PdfForQtViewer/pdfviewermainwindow.cpp +++ b/PdfForQtViewer/pdfviewermainwindow.cpp @@ -858,6 +858,7 @@ void PDFViewerMainWindow::closeDocument() { setDocument(nullptr); m_pdfDocument.reset(); + updateActionsAvailability(); } void PDFViewerMainWindow::setPageLayout(pdf::PageLayout pageLayout)