mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-12 22:14:35 +00:00
branch: Fix bug #7793: LyX leaves behind autosave files
The LyX buffer is cloned before autosaving, but the unnamed_ member was not copied. This causes the autosave files to end up in the wrong location and consequently they were never removed afterwards. see r40008. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40018 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
af227ddd8b
commit
84e3817673
@ -347,6 +347,7 @@ Buffer::Impl::Impl(Buffer * owner, FileName const & file, bool readonly_,
|
||||
bibinfo_cache_valid_ = cloned_buffer_->d->bibinfo_cache_valid_;
|
||||
bibfile_cache_valid_ = cloned_buffer_->d->bibfile_cache_valid_;
|
||||
bibfile_status_ = cloned_buffer_->d->bibfile_status_;
|
||||
unnamed = cloned_buffer_->d->unnamed;
|
||||
}
|
||||
|
||||
|
||||
|
@ -126,6 +126,9 @@ What's new
|
||||
|
||||
- Fix tex2lyx handling of recognized Roman fonts (bug 7856).
|
||||
|
||||
- Store the autosave files of unnamed buffers in the correct directory
|
||||
and make sure they are not left behind after saving (bug 7793).
|
||||
|
||||
|
||||
* USER INTERFACE
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user