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

Method OnInputTimer

gui/targetProfileEditor.py:262–269  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

260 self.inputTimer.Start(Fit.getInstance().serviceFittingOptions['marketSearchDelay'], True)
261
262 def OnInputTimer(self, event):
263 event.Skip()
264 if self.block:
265 return
266 if self.validateFields():
267 p = self.entityEditor.getActiveEntity()
268 TargetProfile.getInstance().saveChanges(p)
269 wx.PostEvent(self.mainFrame, GE.TargetProfileChanged(profileID=p.ID))
270
271 def validateFields(self):
272 valid = True

Callers

nothing calls this directly

Calls 4

validateFieldsMethod · 0.95
getActiveEntityMethod · 0.80
saveChangesMethod · 0.45
getInstanceMethod · 0.45

Tested by

no test coverage detected