From 8bd47bda8c27b0b0fc379a02dba81cdc67c79f70 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Wed, 15 Jan 2020 08:40:51 +0100 Subject: [PATCH] Improve comments --- src/insets/InsetTabular.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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()) -- 2.39.2