mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Comment out code that does nothing. InsetTableCell does not handle drawSelection. Now it raises the impression that this causes the selection of the cells to be painted but that is done somewhere else.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36483 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8279da6e20
commit
340b1b0473
@ -3602,11 +3602,14 @@ void InsetTabular::drawSelection(PainterInfo & pi, int x, int y) const
|
||||
+ tabular.interRowSpace(r + 1);
|
||||
}
|
||||
|
||||
} else {
|
||||
x += cellXPos(cur.idx());
|
||||
x += tabular.textHOffset(cur.idx());
|
||||
cell(cur.idx())->drawSelection(pi, x, 0 /* ignored */);
|
||||
}
|
||||
}
|
||||
// FIXME: This code has no effect because InsetTableCell does not handle
|
||||
// drawSelection other than the trivial implementation in Inset.
|
||||
//else {
|
||||
// x += cellXPos(cur.idx());
|
||||
// x += tabular.textHOffset(cur.idx());
|
||||
// cell(cur.idx())->drawSelection(pi, x, 0 /* ignored */);
|
||||
//}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user