mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
* rowpainter.cpp (paintOnlyInsets): do not paint Hfill insets (avoids a
crash). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22045 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
003c6aa0f8
commit
a92428c89c
@ -740,7 +740,7 @@ void RowPainter::paintOnlyInsets()
|
||||
{
|
||||
pos_type const end = row_.endpos();
|
||||
for (pos_type pos = row_.pos(); pos != end; ++pos) {
|
||||
if (!par_.isInset(pos))
|
||||
if (!par_.isInset(pos) || par_.isHfill(pos))
|
||||
continue;
|
||||
|
||||
if (x_ > bv_.workWidth())
|
||||
|
@ -139,6 +139,9 @@ What's new
|
||||
- Fix a crash when the cursor leaves the first paragraph of the
|
||||
appendix and it is empty (bug 4352).
|
||||
|
||||
- Fix a crash when editing in an inset that contains an horizontal spring
|
||||
(hfill).
|
||||
|
||||
- Fix a crash when pasting text from the clipboard into a multi-line
|
||||
tabular cell (bug 4368).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user