Skip to content

Commit 472b8bf

Browse files
committed
[processing] ressurect 'new script' action
1 parent 7115e04 commit 472b8bf

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

python/plugins/processing/script/CreateNewScriptAction.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,12 @@
3333

3434
from processing.script.ScriptEditorDialog import ScriptEditorDialog
3535

36-
pluginPath = os.path.split(os.path.dirname(__file__))[0]
37-
3836

3937
class CreateNewScriptAction(ToolboxAction):
4038

4139
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")
40+
self.name = self.tr("Create new script")
41+
self.group = self.tr("Tools")
4742

4843
def execute(self):
4944
dlg = ScriptEditorDialog(None)

0 commit comments

Comments
 (0)