Mark recovered file as unsaved [skip ci]
parent
61532fe00c
commit
74edcbcd0e
|
@ -1418,6 +1418,8 @@ void DocumentWindow::autoRecover()
|
|||
|
||||
auto filename = dir + QDir::separator() + autoSavedFiles.last();
|
||||
openPathAs(filename, "");
|
||||
m_documentSaved = false;
|
||||
updateTitle();
|
||||
QFile::remove(filename);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue