* src/Marriage.py: proper window management on delete event.
* src/RelLib.py (Event.are_equal): Correction. * src/Date.py (is_empty): Require empty text for a date to be empty. * src/WriteXML (write_object): Remove places from Media. * src/GrampsDbBase.py (undo): Typos. * src/GrampsDBCallback: Pretty printing for warnings. svn: r4297
This commit is contained in:
@@ -464,9 +464,9 @@ class Date:
|
||||
|
||||
def is_empty(self):
|
||||
"""
|
||||
Returns True if the date is a date range or a date span.
|
||||
Returns True if the date contains no information (empty text).
|
||||
"""
|
||||
return self.modifier == MOD_TEXTONLY
|
||||
return self.modifier == MOD_TEXTONLY and not self.text
|
||||
|
||||
def is_compound(self):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user