From 653ec79d77a65201e78edd443742127c9927b24d Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Sat, 14 May 2005 04:34:14 +0000 Subject: [PATCH] * src/DateEdit.py (parse_and_check): Display date as parsed on svn: r4589 --- gramps2/ChangeLog | 3 +++ gramps2/src/DateEdit.py | 1 + 2 files changed, 4 insertions(+) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 66b0a3ebd..286eba71b 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -9,6 +9,9 @@ * src/TipOfDay.py (TipOfDay.__init__): Use translated tips. * src/po/template.po: new translatable strings. + * src/DateEdit.py (parse_and_check): Display date as parsed on + focus-out from the entry fields. + 2005-05-13 Martin Hawlisch * src/SelectChild.py (on_save_child_clicked) Commit new parent family of child properly; correct handle/object mismatch; exec parent callback diff --git a/gramps2/src/DateEdit.py b/gramps2/src/DateEdit.py index 877b6221c..1ff7046f6 100644 --- a/gramps2/src/DateEdit.py +++ b/gramps2/src/DateEdit.py @@ -146,6 +146,7 @@ class DateEdit: if text != self.text: self.text = text self.date_obj.copy(DateHandler.parser.parse(text)) + self.text_obj.set_text(DateHandler.displayer.display(self.date_obj)) self.check() def invoke_date_editor(self,obj):