mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
When inserting a column in tabular, the border of the new column should be copied from the border of the (previously) right-most column. Also remove a redundant line. The line setRightLine(i, true); was only reached if rightLine(i) was true. Patch from Daniel Ramöller.
This commit is contained in:
parent
482d0ebc66
commit
b1ddae0514
@ -878,8 +878,8 @@ void Tabular::insertColumn(col_type const col, bool copy)
|
||||
setBottomLine(i, bottomLine(j));
|
||||
setTopLine(i, topLine(j));
|
||||
setLeftLine(i, leftLine(j));
|
||||
setRightLine(i, rightLine(j));
|
||||
if (rightLine(i) && rightLine(j)) {
|
||||
setRightLine(i, true);
|
||||
setRightLine(j, false);
|
||||
}
|
||||
if (buffer().params().track_changes)
|
||||
|
Loading…
Reference in New Issue
Block a user