Never mark a document cleanly saved after .t42 export
Amendment to 7493c8f so that a document even with only one subpage will not
be marked as cleanly saved. This should reinforce the fact that only TTI
files will be guaranteed to store everything.
This commit is contained in:
@@ -1113,11 +1113,6 @@ void MainWindow::exportT42(bool fromAuto)
|
||||
return;
|
||||
}
|
||||
|
||||
// Only mark as cleanly saved if the document was a single subpage
|
||||
// otherwise the other subpages could be lost if not saved as TTI
|
||||
if (m_textWidget->document()->numberOfSubPages() == 1) {
|
||||
setCurrentFile(exportFileName);
|
||||
} else
|
||||
MainWindow::prependToRecentFiles(exportFileName);
|
||||
|
||||
m_exportAutoFileName = exportFileName;
|
||||
|
||||
Reference in New Issue
Block a user