diff --git a/gramps/plugins/tool/removeunused.py b/gramps/plugins/tool/removeunused.py index d33838b36..81b4ef9ed 100644 --- a/gramps/plugins/tool/removeunused.py +++ b/gramps/plugins/tool/removeunused.py @@ -228,7 +228,7 @@ class RemoveUnused(tool.Tool, ManagedWindow, UpdateCallback): places=self.places_box.get_active(), media=self.media_box.get_active(), repos=self.repos_box.get_active(), - notes=elf.notes_box.get_active(), + notes=self.notes_box.get_active(), ) for item in self.sensitive_list: