summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/gui_customgrid.pas12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/gui/gui_customgrid.pas b/src/gui/gui_customgrid.pas
index 4b0db99c..0efa0edb 100644
--- a/src/gui/gui_customgrid.pas
+++ b/src/gui/gui_customgrid.pas
@@ -188,8 +188,10 @@ begin
end;
end;
- if csUpdating in ComponentState then
- Exit;
+ // graemeg 2008-07-18: I believe after all the repaint and event fixes
+ // this check is not required anymore.
+// if csUpdating in ComponentState then
+// Exit;
UpdateScrollBars;
RePaint;
end;
@@ -203,8 +205,10 @@ begin
FocusRow := FRowCount-1;
DoSetRowCount(AValue); // could be implemented by descendants
- if csUpdating in ComponentState then
- Exit;
+ // graemeg 2008-07-18: I believe after all the repaint and event fixes
+ // this check is not required anymore.
+// if csUpdating in ComponentState then
+// Exit;
UpdateScrollBars;
RePaint;
end;