|
|
|
|
@ -1566,6 +1566,7 @@ void Part::slotDoFileDirty() |
|
|
|
|
m_dirtyPageRotation = m_document->rotation(); |
|
|
|
|
|
|
|
|
|
// inform the user about the operation in progress
|
|
|
|
|
// TODO: Remove this line and integrate reload info in queryClose
|
|
|
|
|
m_pageView->displayMessage( i18n("Reloading the document...") ); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -1573,6 +1574,9 @@ void Part::slotDoFileDirty() |
|
|
|
|
if ( !closeUrl() ) |
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
// inform the user about the operation in progress
|
|
|
|
|
m_pageView->displayMessage( i18n("Reloading the document...") ); |
|
|
|
|
|
|
|
|
|
if ( KParts::ReadWritePart::openUrl( m_oldUrl ) ) |
|
|
|
|
{ |
|
|
|
|
// on successful opening, restore the previous viewport
|
|
|
|
|
|