bug 313 dont reset the layout on keepEmpty paragraphs

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10208 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2005-07-15 13:51:41 +00:00
parent 8355663e97
commit aa97bf0866
2 changed files with 8 additions and 4 deletions

View File

@ -1,5 +1,8 @@
2005-07-15 <lgb@tandberg.net> 2005-07-15 <lgb@tandberg.net>
* paragraph_funcs.C (breakParagraph): dont reset the layout on
keepEmpty paragraphs
* text.C (setCursorFromCoordinates): add a debug statement * text.C (setCursorFromCoordinates): add a debug statement
* text2.C (getColumnNearX): bug 1825 make sure that we don't * text2.C (getColumnNearX): bug 1825 make sure that we don't

View File

@ -168,9 +168,10 @@ void breakParagraph(BufferParams const & bparams,
return; return;
} }
par.params().clear(); if (!isempty) {
par.params().clear();
par.layout(bparams.getLyXTextClass().defaultLayout()); par.layout(bparams.getLyXTextClass().defaultLayout());
}
// layout stays the same with latex-environments // layout stays the same with latex-environments
if (flag) { if (flag) {