diff --git a/ChangeLog b/ChangeLog index 23c5ff378..1edab8197 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2006-08-24 Alex Roitman + * src/plugins/ChangeTypes.py (run_tool): Properly set the new type. + 2006-08-23 Alex Roitman * src/DataViews/_PersonView.py (person_removed): Properly create and pass the filter when searchbar is enabled (not sidebar). diff --git a/src/plugins/ChangeTypes.py b/src/plugins/ChangeTypes.py index 4cab5bf5e..fb5e9f633 100644 --- a/src/plugins/ChangeTypes.py +++ b/src/plugins/ChangeTypes.py @@ -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: