MCPcopy Create free account
hub / github.com/KDE/krita / _clearScript

Method _clearScript

plugins/python/tenscripts/uitenscripts.py:98–102  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

96 return _saved_scripts
97
98 def _clearScript(self):
99 obj = self.mainDialog.sender()
100 textField = self.scriptsLayout.itemAt(
101 self.scriptsLayout.indexOf(obj)-1).widget()
102 textField.setText("")
103
104 def _selectScript(self):
105 dialog = FileDialog(self.mainDialog)

Callers

nothing calls this directly

Calls 4

widgetMethod · 0.45
itemAtMethod · 0.45
indexOfMethod · 0.45
setTextMethod · 0.45

Tested by

no test coverage detected