]> git.lyx.org Git - features.git/commitdiff
Improve comments
authorJuergen Spitzmueller <spitz@lyx.org>
Wed, 15 Jan 2020 07:40:51 +0000 (08:40 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Wed, 15 Jan 2020 07:40:51 +0000 (08:40 +0100)
src/insets/InsetTabular.cpp

index 2b23c8955ac7b59beb1fdc58fd53cc36163df0f2..1c4ed5dfc2d45b3de5a83a1dabd935a9cdc0fa20 100644 (file)
@@ -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())