2007-06-18 Alex Roitman <shura@gramps-project.org>
* src/DateEdit.py (DateEditorDialog.switch_calendar): Only convert non-empty dates to new calendar. svn: r8583
This commit is contained in:
@@ -366,7 +366,8 @@ class DateEditorDialog(ManagedWindow.ManagedWindow):
|
||||
value=the_value,
|
||||
text=the_text)
|
||||
|
||||
self.date.convert_calendar(new_cal)
|
||||
if not self.date.is_empty():
|
||||
self.date.convert_calendar(new_cal)
|
||||
|
||||
self.start_month_box.get_model().clear()
|
||||
self.stop_month_box.get_model().clear()
|
||||
|
Reference in New Issue
Block a user