From: Juergen Spitzmueller Date: Wed, 15 Jan 2020 07:40:51 +0000 (+0100) Subject: Improve comments X-Git-Tag: lyx-2.4.0dev-acb2ca7b~1308 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=8bd47bda8c27b0b0fc379a02dba81cdc67c79f70;p=features.git Improve comments --- diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index 2b23c8955a..1c4ed5dfc2 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -4474,7 +4474,7 @@ void InsetTabular::draw(PainterInfo & pi, int x, int y) const idx_type idx = 0; - // Save change status + // Save tabular change status Change tab_change = pi.change; int yy = y + tabular.offsetVAlignment(); @@ -4491,8 +4491,9 @@ void InsetTabular::draw(PainterInfo & pi, int x, int y) const continue; } - // Mark deleted rows/columns pi.selected |= isCellSelected(cur, r, c); + + // Mark deleted rows/columns if (tabular.column_info[c].change.changed()) pi.change = tabular.column_info[c].change; else if (tabular.row_info[r].change.changed())