Small fix

This commit is contained in:
Jakub Melka 2019-12-23 18:00:34 +01:00
parent fb47d22225
commit aae6c56a5f
1 changed files with 1 additions and 0 deletions

View File

@ -858,6 +858,7 @@ void PDFViewerMainWindow::closeDocument()
{ {
setDocument(nullptr); setDocument(nullptr);
m_pdfDocument.reset(); m_pdfDocument.reset();
updateActionsAvailability();
} }
void PDFViewerMainWindow::setPageLayout(pdf::PageLayout pageLayout) void PDFViewerMainWindow::setPageLayout(pdf::PageLayout pageLayout)