mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
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. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40008 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
dd4379f40f
commit
61dda8035d
@ -356,6 +356,7 @@ Buffer::Impl::Impl(Buffer * owner, FileName const & file, bool readonly_,
|
|||||||
bibfile_cache_valid_ = cloned_buffer_->d->bibfile_cache_valid_;
|
bibfile_cache_valid_ = cloned_buffer_->d->bibfile_cache_valid_;
|
||||||
bibfile_status_ = cloned_buffer_->d->bibfile_status_;
|
bibfile_status_ = cloned_buffer_->d->bibfile_status_;
|
||||||
cite_labels_valid_ = cloned_buffer_->d->cite_labels_valid_;
|
cite_labels_valid_ = cloned_buffer_->d->cite_labels_valid_;
|
||||||
|
unnamed = cloned_buffer_->d->unnamed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user