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

Method DoRename

gui/targetProfileEditor.py:99–102  ·  view source on GitHub ↗
(self, entity, name)

Source from the content-addressed store, hash-verified

97 return sTR.newPattern(name)
98
99 def DoRename(self, entity, name):
100 sTR = TargetProfile.getInstance()
101 sTR.renamePattern(entity, name)
102 wx.PostEvent(self.mainFrame, GE.TargetProfileChanged(profileID=entity.ID))
103
104 def DoCopy(self, entity, name):
105 sTR = TargetProfile.getInstance()

Callers

nothing calls this directly

Calls 2

getInstanceMethod · 0.45
renamePatternMethod · 0.45

Tested by

no test coverage detected