summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2010-10-01 15:09:48 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2010-10-01 15:09:48 +0200
commit5b97fce2e1442ca77c58bee193a41aa0a20e9e28 (patch)
treee1f027f635d2b05a8eb94f33fcbc564b4a2ee2b6 /src
parent00e67ca53e5194919ab7b1b0b7d0d0d4946ee622 (diff)
downloadfpGUI-5b97fce2e1442ca77c58bee193a41aa0a20e9e28.tar.xz
minor bugfix in TfpgBaseNumericEdit. Setting NegativeColor doesn't cause a repaint
Diffstat (limited to 'src')
-rw-r--r--src/gui/fpg_edit.pas1
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);