* src/GrampsDb/_ReadXML.py: save description properly on read

svn: r7343
This commit is contained in:
Don Allingham 2006-10-03 03:21:40 +00:00
parent f52e16de92
commit 6f88d70324
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
2006-10-02 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadXML.py: save description properly on read
* src/RelLib/_Location.py: call parent class properly
* src/Selectors/_SelectPlace.py: use proper column for place handle
* src/DisplayModels/_PlaceModel.py: specify place handle

View File

@ -964,7 +964,7 @@ class GrampsParser(UpdateCallback):
return
url = RelLib.Url()
url.path = attrs["href"]
url.description = attrs.get("description",'')
url.set_description(attrs.get("description",''))
url.privacy = bool(attrs.get('priv'))
url.type.set_from_xml_str(attrs['type'])
if self.person: