mirror of https://github.com/JakubMelka/PDF4QT.git
Small fix
This commit is contained in:
parent
fb47d22225
commit
aae6c56a5f
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue