mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
fix file-insert crash. update problem remaining now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7254 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
46c55ef6b7
commit
da0450e82a
@ -951,6 +951,9 @@ void BufferView::Pimpl::MenuInsertLyXFile(string const & filen)
|
|||||||
owner_->message(bformat(_("Document %1$s inserted."), disp_fn));
|
owner_->message(bformat(_("Document %1$s inserted."), disp_fn));
|
||||||
else
|
else
|
||||||
owner_->message(bformat(_("Could not insert document %1$s"), disp_fn));
|
owner_->message(bformat(_("Could not insert document %1$s"), disp_fn));
|
||||||
|
|
||||||
|
#warning remove this if update() is gone
|
||||||
|
bv_->text->fullRebreak();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -726,8 +726,8 @@ void LyXText::redoParagraphs(LyXCursor const & cur,
|
|||||||
|
|
||||||
void LyXText::fullRebreak()
|
void LyXText::fullRebreak()
|
||||||
{
|
{
|
||||||
need_break_row = rows().begin();
|
rows().clear();
|
||||||
partialRebreak();
|
init(bv());
|
||||||
setCursorIntern(cursor.par(), cursor.pos());
|
setCursorIntern(cursor.par(), cursor.pos());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user