]> git.lyx.org Git - features.git/commit
Do not set layout for no-op paragraph break
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 24 Aug 2016 13:29:17 +0000 (15:29 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 29 Aug 2016 10:09:53 +0000 (12:09 +0200)
commitbbeb3773a1dbfdc2a43243c949f6da3396bfe8a1
treed640a0c58ba80de72dd7988db97076cb63bd9926
parent1dc8278fefa5477fb745468fac3fabdd322cb415
Do not set layout for no-op paragraph break

When breaking paragraph in an empty top-level paragraph, nothing
happens on screen but yet there is an undo step because the layout is
reset to what it already was.

Avoid this case.

Fixes bug #10089.
(cherry picked from commit 2ad52918da1d0f375bf2831df4c51f6afa7ea448)
src/Text.cpp
status.22x