]> git.lyx.org Git - features.git/commit
Fix crash when putting a float around multiple display maths (bug #7974).
authorJürgen Spitzmüller <spitz@lyx.org>
Sat, 21 Jan 2012 07:02:09 +0000 (07:02 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Sat, 21 Jan 2012 07:02:09 +0000 (07:02 +0000)
commitb965edbb02bfbd4aafd20facbf1f7cfccd34757e
tree65ecc31b290ef7d993c332862f7c1fb4d300b832
parentaf8cec47e97010854355f45350004ce67ad6c203
Fix crash when putting a float around multiple display maths (bug #7974).

This also fixes other float-related bugs, such as this:

* select two floats in two consecutive paragraphs and insert a new float around them
=> the master float's caption is put into the lower subfloat instead of below the subfloats.

In the long term, doInsertInset needs a thorough cleanup.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40639 a592a061-630c-0410-9148-cb99ea01b6c8
src/Text3.cpp