setBuffer(newBuffer);
newBuffer->errors("Parse");
- if (tolastfiles)
+ if (tolastfiles) {
theSession().lastFiles().add(filename);
+ theSession().writeFile();
+ }
return newBuffer;
}
bool const success = (fn.empty() ? b.save() : b.saveAs(fn));
if (success) {
theSession().lastFiles().add(b.fileName());
+ theSession().writeFile();
return true;
}
- Fix display of citation labels when pasting from a document
with other citation type (bug 10829).
+- Save the list of recent files when a file is open/saved so that it
+ is up to date after a crash (bug 10712).
* INTERNALS