summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2010-06-29 15:06:56 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2010-06-29 15:06:56 +0200
commit371c968f98929960e36d98df5ec41621ff6eb4b1 (patch)
treeebdd5163811cf0283fc6ca37113ea268af222a28
parent9fd937f61c66d7ea730bb1cba5d70c01ea67757a (diff)
downloadfpGUI-371c968f98929960e36d98df5ec41621ff6eb4b1.tar.xz
Calender Check Combo: when unchecked and you select date, it must show checked.
The internal state was updated to checked, but visually it still looked unchecked. A simple call to Repaint fixes this.
-rw-r--r--src/gui/fpg_popupcalendar.pas1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/fpg_popupcalendar.pas b/src/gui/fpg_popupcalendar.pas
index 494efe9d..736c41ae 100644
--- a/src/gui/fpg_popupcalendar.pas
+++ b/src/gui/fpg_popupcalendar.pas
@@ -1484,6 +1484,7 @@ begin
if AValue = FChecked then
Exit; //==>
FChecked := Avalue;
+ Repaint;
end;
procedure TfpgCalendarCheckCombo.DoCheckboxChanged;