From c8175d11919ad72237f66fbd527ba916080bc2e8 Mon Sep 17 00:00:00 2001 From: blitzmann Date: Thu, 23 Jun 2016 23:19:08 -0400 Subject: [PATCH] Only compare attributes with display names (ones that don't have display names are normally internal attributes) --- gui/itemStats.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gui/itemStats.py b/gui/itemStats.py index 9d32826c4..6275d846a 100644 --- a/gui/itemStats.py +++ b/gui/itemStats.py @@ -487,7 +487,8 @@ class ItemCompare(wx.Panel): # get a dict of attrName: attrInfo of all unique attributes across all items for item in self.items: for attr in item.attributes.keys(): - self.attrs[attr] = item.attributes[attr].info + if item.attributes[attr].info.displayName: + self.attrs[attr] = item.attributes[attr].info # Process attributes for items and find ones that differ for attr in self.attrs.keys():