mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
parent
c0d7ac5b71
commit
5a893d9862
@ -3190,6 +3190,7 @@ void BufferView::insertLyXFile(FileName const & fname, bool const ignorelang)
|
|||||||
// set main language of imported file to context language
|
// set main language of imported file to context language
|
||||||
buf.changeLanguage(buf.language(), d->cursor_.getFont().language());
|
buf.changeLanguage(buf.language(), d->cursor_.getFont().language());
|
||||||
buffer_.undo().recordUndo(d->cursor_);
|
buffer_.undo().recordUndo(d->cursor_);
|
||||||
|
cap::replaceSelection(d->cursor_);
|
||||||
cap::pasteParagraphList(d->cursor_, pars,
|
cap::pasteParagraphList(d->cursor_, pars,
|
||||||
buf.params().documentClassPtr(),
|
buf.params().documentClassPtr(),
|
||||||
buf.params().authors(), el);
|
buf.params().authors(), el);
|
||||||
|
Loading…
Reference in New Issue
Block a user