GuiTabular.cpp: fix bug #8084

This commit is contained in:
Uwe Stöhr 2012-03-15 02:29:47 +01:00
parent 0e271180f9
commit 7d200f302d
2 changed files with 9 additions and 2 deletions

View File

@ -428,7 +428,11 @@ docstring GuiTabular::dialogToParams() const
setParam(param_str, Tabular::SET_PWIDTH, width); setParam(param_str, Tabular::SET_PWIDTH, width);
// apply the column alignment // apply the column alignment
setHAlign(param_str); // multirows inherit the alignment from the column; if a column width
// is set, multicolumns are always left-aligned so that in this case
// its alignment must not be applied (see bug #8084)
if (!(multirowCB->isChecked() && width != "0pt"))
setHAlign(param_str);
// SET_DECIMAL_POINT must come after setHAlign() (ALIGN_DECIMAL) // SET_DECIMAL_POINT must come after setHAlign() (ALIGN_DECIMAL)
string decimal_point = fromqstr(decimalPointED->text()); string decimal_point = fromqstr(decimalPointED->text());

View File

@ -87,10 +87,13 @@ What's new
- Fixed stray warning when inserting inserting plaintext file (bug 7916). - Fixed stray warning when inserting inserting plaintext file (bug 7916).
- Don't reset the selected format each time we click into a new paragraph - Don't reset the selected format each time we click into a new paragraph
in View>Source (bug 7997). in View->Source (bug 7997).
- Stop screen from jumping around so much on undo and redo (bug 6367). - Stop screen from jumping around so much on undo and redo (bug 6367).
- Setting a multirow offset no longer also changes table column
alignments (bug 8084).
- Fix undo warning when inserting plain text file (bug 7916). - Fix undo warning when inserting plain text file (bug 7916).