SrcAttribute object has no attribute has_citations

Fixes #012599
This commit is contained in:
SNoiraud authored and Nick Hall committed 2023-07-15 00:20:00 +01:00
1 parent c7b1a23441
commit 218d752920
1 file changed
+1 -2
+1 -2
View File
@@ -39,13 +39,12 @@ from gi.repository import Gtk
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,
])