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

Method _storeCurrentValues

graphs/gui/ctrlPanel.py:455–460  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

453 return '{}, {}'.format(label, axisDef.unit)
454
455 def _storeCurrentValues(self):
456 main, misc = self.getValues()
457 if main is not None:
458 self._storedRanges[(main.handle, main.unit)] = main.value
459 for input in misc:
460 self._storedConsts[(input.handle, input.unit)] = input.value
461
462 def _clearStoredValues(self):
463 self._storedRanges.clear()

Callers 1

_updateInputsMethod · 0.95

Calls 1

getValuesMethod · 0.95

Tested by

no test coverage detected