We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7115e04 commit 472b8bfCopy full SHA for 472b8bf
python/plugins/processing/script/CreateNewScriptAction.py
@@ -33,17 +33,12 @@
33
34
from processing.script.ScriptEditorDialog import ScriptEditorDialog
35
36
-pluginPath = os.path.split(os.path.dirname(__file__))[0]
37
-
38
39
class CreateNewScriptAction(ToolboxAction):
40
41
def __init__(self):
42
- self.name = self.tr('Create new script')
43
- self.group = self.tr('Tools')
44
45
- def getIcon(self):
46
- return QgsApplication.getThemeIcon("/processingScript.svg")
+ self.name = self.tr("Create new script")
+ self.group = self.tr("Tools")
47
48
def execute(self):
49
dlg = ScriptEditorDialog(None)
0 commit comments