Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 8e8c7a40 authored by Fabio D'Urso's avatar Fabio D'Urso

Invalidate saved data (viewport, expanded TOC nodes) when reload is canceled

So that next time slotDoFileDirty() is called, it will save data again, instead
of keeping data from the old reload attempt.
parent 80ebb46d
......@@ -1606,6 +1606,8 @@ void Part::slotDoFileDirty()
// close and (try to) reopen the document
if ( !closeUrl() )
m_viewportDirty.pageNumber = -1;
if ( tocReloadPrepared )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment