]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetTabular.cpp
Right border of multicol should be set if 1 column
[features.git] / src / insets / InsetTabular.cpp
index 10e021c4ae671f9c4acfe7cb80c49125d611ad62..932b994fec3913d482a5e8c20574b2e23fb23dea 100644 (file)
@@ -1682,8 +1682,7 @@ Tabular::idx_type Tabular::setMultiColumn(idx_type cell, idx_type number,
        cs.multicolumn = CELL_BEGIN_OF_MULTICOLUMN;
        if (column_info[col].alignment != LYX_ALIGN_DECIMAL)
                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) {
                CellData & cs1 = cellInfo(cell + i);