diff options
Diffstat (limited to 'src/corelib/gfx_widget.pas')
-rw-r--r-- | src/corelib/gfx_widget.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/gfx_widget.pas b/src/corelib/gfx_widget.pas index 5ce5bd9e..d821e6e2 100644 --- a/src/corelib/gfx_widget.pas +++ b/src/corelib/gfx_widget.pas @@ -272,7 +272,7 @@ end; procedure TfpgWidget.SetTextColor(const AValue: TfpgColor); begin - if FBackgroundColor <> AValue then + if FTextColor <> AValue then begin FTextColor := AValue; Repaint; |