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:
Alex Roitman 2007-06-18 18:33:28 +00:00
parent 602d25b015
commit cf52ebb90d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-06-18 Alex Roitman <shura@gramps-project.org>
* src/DateEdit.py (DateEditorDialog.switch_calendar): Only convert
non-empty dates to new calendar.
2007-06-17 Alex Roitman <shura@gramps-project.org>
* src/plugins/Verify.py: Clarification in wording: #1071.
* src/GrampsCfg.py (NameFormatEditDlg.cb_format_changed): Catch

View File

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