From 48da3f90e32d9906bf1ee2e87866d07d43df1afe Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Wed, 21 Jan 2009 20:59:31 +0000 Subject: [PATCH] Need to return a default value for newyear offset code svn: r11679 --- src/DateEdit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DateEdit.py b/src/DateEdit.py index 7112ccc8b..48eb2094b 100644 --- a/src/DateEdit.py +++ b/src/DateEdit.py @@ -320,7 +320,7 @@ class DateEditorDialog(ManagedWindow.ManagedWindow): if modifier == Date.MOD_TEXTONLY: return (Date.QUAL_NONE, Date.MOD_TEXTONLY, Date.CAL_GREGORIAN, - Date.EMPTY,text) + Date.EMPTY,text, Date.NEWYEAR_JAN1) quality = QUAL_TEXT[self.quality_box.get_active()][0]