* src/EditPerson.py (did_data_change): Add a unicode conversion to the
surname string. svn: r1965
This commit is contained in:
parent
3a7293dd47
commit
f96554424a
@ -12,6 +12,8 @@
|
|||||||
const.display_fevent(); (on_event_update_clicked): Likewise.
|
const.display_fevent(); (on_event_update_clicked): Likewise.
|
||||||
* src/EventEdit.py (EventEditor.__init__): Call self.trans() before
|
* src/EventEdit.py (EventEditor.__init__): Call self.trans() before
|
||||||
displaying event name.
|
displaying event name.
|
||||||
|
* src/EditPerson.py (did_data_change): Add a unicode conversion to the
|
||||||
|
surname string.
|
||||||
|
|
||||||
2003-08-05 Tim Waugh <twaugh@redhat.com>
|
2003-08-05 Tim Waugh <twaugh@redhat.com>
|
||||||
* src/Report.py, src/TextDoc.py, src/DrawDoc.py: Adjusted the way
|
* src/Report.py, src/TextDoc.py, src/DrawDoc.py: Adjusted the way
|
||||||
|
@ -919,7 +919,7 @@ class EditPerson:
|
|||||||
def did_data_change(self):
|
def did_data_change(self):
|
||||||
"""Check to see if any of the data has changed from the
|
"""Check to see if any of the data has changed from the
|
||||||
original record"""
|
original record"""
|
||||||
surname = self.surname_field.get_text()
|
surname = unicode(self.surname_field.get_text())
|
||||||
if GrampsCfg.capitalize:
|
if GrampsCfg.capitalize:
|
||||||
surname = surname.upper()
|
surname = surname.upper()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user