don't force tabular cell alignment to BLOCK when switching to pwidth (bugs 1296, 1840).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10428 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2005-09-08 15:29:40 +00:00
parent 15770cf3d2
commit 9f3a134c99
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2005-08-09 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* insettabular.C (tabularFeatures): don't force alignment to BLOCK
when switching to pwidth cell (bugs 1296, 1840).
2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* insettabular.C (draw): pass PainterInfro::erased_ to

View File

@ -1419,9 +1419,6 @@ void InsetTabular::tabularFeatures(LCursor & cur,
if (len.zero()
&& tabular.getAlignment(cur.idx(), true) == LYX_ALIGN_BLOCK)
tabularFeatures(cur, LyXTabular::ALIGN_CENTER, string());
else if (!len.zero()
&& tabular.getAlignment(cur.idx(), true) != LYX_ALIGN_BLOCK)
tabularFeatures(cur, LyXTabular::ALIGN_BLOCK, string());
break;
}