Fixes traceback on show module stats
Looking at the stat on a berserker SW-900 drone was causing tracebacks if all-5 skills were set. This fixes it.
This commit is contained in:
@@ -294,10 +294,10 @@ class ItemParams (wx.Panel):
|
||||
val = getattr(att, "value", None)
|
||||
value = val if val is not None else att
|
||||
|
||||
if self.toggleView != 1:
|
||||
attrName = name
|
||||
if info and info.displayName and self.toggleView == 1:
|
||||
attrName = info.displayName
|
||||
else:
|
||||
attrName = info.displayName if info.displayName <> "" else name
|
||||
attrName = name
|
||||
|
||||
if info:
|
||||
if info.icon is not None:
|
||||
|
||||
Reference in New Issue
Block a user