[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kspread
From: Marijn Kruisselbrink <m.kruisselbrink () student ! tue ! nl>
Date: 2010-09-19 14:23:31
Message-ID: 20100919142331.870B9AC7CB () svn ! kde ! org
[Download RAW message or body]
SVN commit 1177120 by mkruisselbrink:
trigger a relayout of the first non-empty cell to the left of cells that are being \
completely cleared
BUG: 222836
M +6 -0 CellStorage.cpp
--- trunk/koffice/kspread/CellStorage.cpp #1177119:1177120
@@ -263,7 +263,13 @@
d->rowRepeatStorage->setRowRepeat(row, 1);
}
+ // also trigger a relayout of the first non-empty cell to the left of this cell
+ int prevCol;
+ Value v = d->valueStorage->prevInRow(col, row, &prevCol);
+ if (!v.isEmpty())
+ d->sheet->map()->addDamage(new CellDamage(Cell(d->sheet, prevCol, row), \
CellDamage::Appearance));
+
// recording undo?
if (d->undoData) {
d->undoData->formulas << qMakePair(QPoint(col, row), oldFormula);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic