mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
I/1H\$Hl$Ld$Ll$ Lt$(L|$0H8M
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26376 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5c6f3fbf02
commit
a3392f4088
@ -1011,9 +1011,9 @@ void Tabular::setColumnPWidth(Cursor & cur, idx_type cell,
|
||||
|
||||
bool Tabular::setFixedWidth(row_type r, col_type c)
|
||||
{
|
||||
if (!column_info[c].p_width.zero() ||
|
||||
(cell_info[r][c].multicolumn != CELL_NORMAL &&
|
||||
!cell_info[r][c].p_width.zero())) {
|
||||
bool const multicol = cell_info[r][c].multicolumn != CELL_NORMAL;
|
||||
if ((!column_info[c].p_width.zero() && !multicol)
|
||||
|| (multicol && !cell_info[r][c].p_width.zero())) {
|
||||
cell_info[r][c].inset->toggleFixedWidth(true);
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user