diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-05-19 16:42:53 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-05-19 16:42:53 +0200 |
commit | 0be09bfaf013f8cde9dea598893fc0aab9d06ab6 (patch) | |
tree | eb8ec6fd9fe6baa2bcaae004e7be0b31f230b8d4 /src/gui | |
parent | e3aa91884246e0e2b138aa29dddd22f3fb5e1f92 (diff) | |
download | fpGUI-0be09bfaf013f8cde9dea598893fc0aab9d06ab6.tar.xz |
bugfix to prement AV.
The ComboBox.Checked property now fires the event even when set programmatically.
So we better set the event handler AFTER we set the Checked property. This is
how it is done in all other components anyway.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/fpg_dialogs.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/fpg_dialogs.pas b/src/gui/fpg_dialogs.pas index df842257..7d3eca52 100644 --- a/src/gui/fpg_dialogs.pas +++ b/src/gui/fpg_dialogs.pas @@ -959,8 +959,8 @@ begin begin SetPosition(461, 124, 110, 20); Text := rsAntiAliasing; - OnChange := @OnParamChange; Checked := True; + OnChange := @OnParamChange; end; lblLabel4 := TfpgLabel.Create(self); |