diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-10-01 12:32:43 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-10-01 12:36:07 +0200 |
commit | cf2ba4e5e0ff0ed49b4f1271c8acc27cbde4ee2e (patch) | |
tree | 4e3c36fee01c18ce1d5b8167f6397dc0ad304585 /src/corelib | |
parent | 75da40a254a6d3c44b6d6fec6c4b0c7a96555acc (diff) | |
download | fpGUI-cf2ba4e5e0ff0ed49b4f1271c8acc27cbde4ee2e.tar.xz |
bugfix: SpinEdit sometimes caused an AV because fpgCaret could not paint
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/fpg_main.pas | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/fpg_main.pas b/src/corelib/fpg_main.pas index fa6b44d5..faaad5fd 100644 --- a/src/corelib/fpg_main.pas +++ b/src/corelib/fpg_main.pas @@ -2215,6 +2215,7 @@ procedure TfpgCaret.UnSetCaret(ACanvas: TfpgCanvas); begin if (FCanvas = ACanvas) or (ACanvas = nil) then begin + FTimer.Enabled := False; FEnabled := False; FCanvas := nil; end; |