MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / refreshPanel

Method refreshPanel

gui/builtinStatsViews/priceViewMinimal.py:77–85  ·  view source on GitHub ↗
(self, fit)

Source from the content-addressed store, hash-verified

75 hbox.Add(lbl, 0, wx.ALIGN_LEFT)
76
77 def refreshPanel(self, fit):
78 if fit is not None:
79 self.fit = fit
80 fit_items = set(Fit.fitItemIter(fit))
81 Price.getInstance().getPrices(fit_items, self.processPrices, fetchTimeout=30)
82 self.labelEMStatus.SetLabel("Updating prices...")
83
84 self.refreshPanelPrices(fit)
85 self.panel.Layout()
86
87 def refreshPanelPrices(self, fit=None):
88

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