mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
Right border of multicol should be set if 1 column
This commit fixes a bug uncovered by the fix to #8082: If you create a table, select all columns in a row, and set as multicolumn, the right border used to be unset.
This commit is contained in:
parent
77d532bd51
commit
1fd32312e9
@ -1682,7 +1682,6 @@ Tabular::idx_type Tabular::setMultiColumn(idx_type cell, idx_type number,
|
|||||||
cs.multicolumn = CELL_BEGIN_OF_MULTICOLUMN;
|
cs.multicolumn = CELL_BEGIN_OF_MULTICOLUMN;
|
||||||
if (column_info[col].alignment != LYX_ALIGN_DECIMAL)
|
if (column_info[col].alignment != LYX_ALIGN_DECIMAL)
|
||||||
cs.alignment = column_info[col].alignment;
|
cs.alignment = column_info[col].alignment;
|
||||||
if (col > 0)
|
|
||||||
setRightLine(cell, right_border);
|
setRightLine(cell, right_border);
|
||||||
|
|
||||||
for (idx_type i = 1; i < number; ++i) {
|
for (idx_type i = 1; i < number; ++i) {
|
||||||
|
Loading…
Reference in New Issue
Block a user