* src/DateEdit.py (parse_and_check): Display date as parsed on

svn: r4589
This commit is contained in:
Alex Roitman 2005-05-14 04:34:14 +00:00
parent db2c05cd13
commit 653ec79d77
2 changed files with 4 additions and 0 deletions

View File

@ -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 <Martin.Hawlisch@gmx.de>
* src/SelectChild.py (on_save_child_clicked) Commit new parent family
of child properly; correct handle/object mismatch; exec parent callback

View File

@ -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):