summaryrefslogtreecommitdiff
path: root/src/gui/gui_grid.pas
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui_grid.pas')
-rw-r--r--src/gui/gui_grid.pas4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/gui_grid.pas b/src/gui/gui_grid.pas
index eaeb9ddc..2284bec1 100644
--- a/src/gui/gui_grid.pas
+++ b/src/gui/gui_grid.pas
@@ -469,7 +469,9 @@ begin
for r := 0 to RowCount-1 do
Result.Cells.Append('');
- Updated;
+
+ if UpdateCount = 0 then
+ Updated; // if we called .BeginUpdate then don't clear csUpdating here
end;
end.