Fix a warning on performance
committing as cnc commands
This commit is contained in:
@@ -61,7 +61,7 @@ class AttributeDisplay(ViewColumn):
|
||||
sMarket = service.Market.getInstance()
|
||||
#Hack into our master view and add a callback for ourselves to know when to query
|
||||
def refresh(stuff):
|
||||
self.directInfo = sMarket.directRequest(stuff, info.ID) if stuff is not None else None
|
||||
self.directInfo = sMarket.directRequest(stuff, info.ID) if stuff else None
|
||||
originalRefresh(stuff)
|
||||
|
||||
fittingView.refresh = refresh
|
||||
|
||||
Reference in New Issue
Block a user