[LyX/master] Fix bug #11817.
Richard Kimberly Heck
rikiheck at lyx.org
Wed Apr 8 21:03:56 UTC 2020
commit f7065fa22ece25f72107dfa9c78e21a250153514
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date: Wed Apr 8 16:40:39 2020 -0400
Fix bug #11817.
Preserve line spacing when breaking a paragraph at the beginning.
---
src/Text.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/Text.cpp b/src/Text.cpp
index 4a44757..1820f05 100644
--- a/src/Text.cpp
+++ b/src/Text.cpp
@@ -723,6 +723,7 @@ static void breakParagraph(Text & text, pit_type par_offset, pos_type pos,
tmp->params().depth(par.params().depth());
tmp->params().noindent(par.params().noindent());
+ tmp->params().spacing(par.params().spacing());
// move everything behind the break position
// to the new paragraph
More information about the lyx-cvs
mailing list