diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-10-01 15:09:48 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-10-01 15:09:48 +0200 |
commit | 5b97fce2e1442ca77c58bee193a41aa0a20e9e28 (patch) | |
tree | e1f027f635d2b05a8eb94f33fcbc564b4a2ee2b6 | |
parent | 00e67ca53e5194919ab7b1b0b7d0d0d4946ee622 (diff) | |
download | fpGUI-5b97fce2e1442ca77c58bee193a41aa0a20e9e28.tar.xz |
minor bugfix in TfpgBaseNumericEdit. Setting NegativeColor doesn't cause a repaint
-rw-r--r-- | src/gui/fpg_edit.pas | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/fpg_edit.pas b/src/gui/fpg_edit.pas index 8e5ec641..3c7e45d7 100644 --- a/src/gui/fpg_edit.pas +++ b/src/gui/fpg_edit.pas @@ -1651,6 +1651,7 @@ procedure TfpgBaseNumericEdit.SetNegativeColor(const AValue: TfpgColor); begin if FNegativeColor=AValue then exit; FNegativeColor:=AValue; + FormatEdit; end; procedure TfpgBaseNumericEdit.SetThousandSeparator(const AValue: TfpgChar); |