summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorClemens Capitain <webcss@capitain-reinigung.de>2010-04-30 11:37:05 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2010-04-30 11:37:05 +0200
commit1e07cb0e062464ecdfac44e5f299bcd7a117fd59 (patch)
treedb6dbe76c7756e5bf77badd5809e1d89c90950c9 /src
parente0bb98b8b3c8e7804bb540774224cbd1c99e7af9 (diff)
downloadfpGUI-1e07cb0e062464ecdfac44e5f299bcd7a117fd59.tar.xz
BaseGrid: OnRowChange and OnFocusChange does not occur.
When a grid has zero rows and you add a row, neither OnRowChange nor OnFocusChange get fired. This patch fixes this.
Diffstat (limited to 'src')
-rw-r--r--src/gui/fpg_basegrid.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/fpg_basegrid.pas b/src/gui/fpg_basegrid.pas
index 73d77e40..26e16b64 100644
--- a/src/gui/fpg_basegrid.pas
+++ b/src/gui/fpg_basegrid.pas
@@ -1136,7 +1136,7 @@ begin
end;
end; { for }
end; { if/else }
-
+ CheckFocusChange;
UpdateScrollBars;
end;