2006-08-24 Alex Roitman <shura@gramps-project.org>
* src/plugins/ChangeTypes.py (run_tool): Properly set the new type. svn: r7252
This commit is contained in:
parent
5b1f1b3d11
commit
031f9211da
@ -1,3 +1,6 @@
|
||||
2006-08-24 Alex Roitman <shura@gramps-project.org>
|
||||
* src/plugins/ChangeTypes.py (run_tool): Properly set the new type.
|
||||
|
||||
2006-08-23 Alex Roitman <shura@gramps-project.org>
|
||||
* src/DataViews/_PersonView.py (person_removed): Properly create
|
||||
and pass the filter when searchbar is enabled (not sidebar).
|
||||
|
@ -127,7 +127,7 @@ class ChangeTypes(Tool.BatchTool, ManagedWindow.ManagedWindow):
|
||||
continue
|
||||
event = self.db.get_event_from_handle(event_ref.ref)
|
||||
if event.get_type().xml_str() == fromtype:
|
||||
event.set_type(totype)
|
||||
event.type.set_from_xml_str(totype)
|
||||
modified = modified + 1
|
||||
self.db.commit_event(event,self.trans)
|
||||
if not cli:
|
||||
|
Loading…
Reference in New Issue
Block a user