mirror of
https://github.com/wassname/sloth.git
synced 2026-07-14 11:18:22 +08:00
Display class in treeview instead of type
This commit is contained in:
@@ -335,7 +335,7 @@ class AnnotationModelItem(KeyValueModelItem):
|
||||
def data(self, role=Qt.DisplayRole, column=0):
|
||||
if role == Qt.DisplayRole:
|
||||
if column == 0:
|
||||
return self['type']
|
||||
return self['class']
|
||||
else:
|
||||
return ""
|
||||
elif role == DataRole:
|
||||
|
||||
Reference in New Issue
Block a user