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

Method restrict

gui/patternEditor.py:226–231  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

224 DamagePattern.getInstance().saveChanges(p)
225
226 def restrict(self):
227 for type_ in self.DAMAGE_TYPES:
228 editObj = getattr(self, "%sEdit" % type_)
229 editObj.Enable(False)
230 self.entityEditor.btnRename.Enable(False)
231 self.entityEditor.btnDelete.Enable(False)
232
233 def unrestrict(self):
234 for type_ in self.DAMAGE_TYPES:

Callers 1

patternChangedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected