From 218d752920bd136505e9dba32320e1023e5f17ff Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Wed, 30 Mar 2022 09:46:20 +0200 Subject: [PATCH] SrcAttribute object has no attribute has_citations Fixes #012599 --- gramps/gui/editors/displaytabs/attrmodel.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gramps/gui/editors/displaytabs/attrmodel.py b/gramps/gui/editors/displaytabs/attrmodel.py index 5fe6a57b3e4..8a358bc87c7 100644 --- a/gramps/gui/editors/displaytabs/attrmodel.py +++ b/gramps/gui/editors/displaytabs/attrmodel.py @@ -39,13 +39,12 @@ class AttrModel(Gtk.ListStore): def __init__(self, attr_list, db): - Gtk.ListStore.__init__(self, str, str, bool, bool, object) + Gtk.ListStore.__init__(self, str, str, bool, object) self.db = db for attr in attr_list: self.append(row=[ str(attr.get_type()), attr.get_value(), - attr.has_citations(), attr.get_privacy(), attr, ])