mirror of
https://invent.kde.org/graphics/okular
synced 2024-09-13 13:11:41 +00:00
acutally save the document information *before* closing the document, otherwise we run into troubles if we access to anything the generator provided
svn path=/trunk/KDE/kdegraphics/okular/; revision=683143
This commit is contained in:
parent
05c01834c5
commit
e9b9d78faa
|
@ -962,8 +962,8 @@ void Document::closeDocument()
|
|||
// close the current document and save document info if a document is still opened
|
||||
if ( d->m_generator && d->m_pagesVector.size() > 0 )
|
||||
{
|
||||
d->m_generator->closeDocument();
|
||||
d->saveDocumentInfo();
|
||||
d->m_generator->closeDocument();
|
||||
}
|
||||
|
||||
// stop timers
|
||||
|
|
Loading…
Reference in a new issue