MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / fitChanged

Method fitChanged

gui/builtinMarketBrowser/itemView.py:152–168  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

150 return items
151
152 def fitChanged(self, event):
153 # skip the event so the other handlers also get called
154 event.Skip()
155
156 if self.marketBrowser.mode != 'charges':
157 return
158
159 activeFitID = self.mainFrame.getActiveFit()
160 # if it was not the active fitting that was changed, do not do anything
161 if activeFitID is not None and activeFitID not in event.fitIDs:
162 return
163
164 items = self.getChargesForActiveFit()
165
166 # update the UI
167 self.updateItemStore(items)
168 self.filterItemStore()
169
170 def updateItemStore(self, items):
171 self.unfilteredStore = items

Callers

nothing calls this directly

Calls 4

updateItemStoreMethod · 0.95
filterItemStoreMethod · 0.95
getActiveFitMethod · 0.45

Tested by

no test coverage detected