Need to return a default value for newyear offset code

svn: r11679
This commit is contained in:
Doug Blank 2009-01-21 20:59:31 +00:00
parent e23c3e704c
commit 48da3f90e3

View File

@ -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]