Skip to content

Commit

Permalink
SrcAttribute object has no attribute has_citations
Browse files Browse the repository at this point in the history
Fixes #012599
  • Loading branch information
SNoiraud authored and Nick-Hall committed Jul 14, 2023
1 parent c7b1a23 commit 218d752
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gramps/gui/editors/displaytabs/attrmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
])

0 comments on commit 218d752

Please sign in to comment.