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

Method refreshPanel

gui/builtinStatsViews/priceViewFull.py:84–92  ·  view source on GitHub ↗
(self, fit)

Source from the content-addressed store, hash-verified

82 hbox.Add(lbl, 0, wx.ALIGN_LEFT)
83
84 def refreshPanel(self, fit):
85 if fit is not None:
86 self.fit = fit
87 fit_items = set(Fit.fitItemIter(fit))
88 Price.getInstance().getPrices(fit_items, self.processPrices, fetchTimeout=30)
89 self.labelEMStatus.SetLabel("Updating prices...")
90
91 self.refreshPanelPrices(fit)
92 self.panel.Layout()
93
94 def refreshPanelPrices(self, fit=None):
95

Callers

nothing calls this directly

Calls 5

refreshPanelPricesMethod · 0.95
fitItemIterMethod · 0.80
getPricesMethod · 0.80
SetLabelMethod · 0.80
getInstanceMethod · 0.45

Tested by

no test coverage detected