Skip to content
Permalink
Browse files

[processing] ressurect 'new script' action

  • Loading branch information
alexbruy committed Feb 5, 2018
1 parent 7115e04 commit 472b8bf6bf5ecdcdd98d99d4dfb443ff8ba94738
Showing with 2 additions and 7 deletions.
  1. +2 −7 python/plugins/processing/script/CreateNewScriptAction.py
@@ -33,17 +33,12 @@

from processing.script.ScriptEditorDialog import ScriptEditorDialog

pluginPath = os.path.split(os.path.dirname(__file__))[0]


class CreateNewScriptAction(ToolboxAction):

def __init__(self):
self.name = self.tr('Create new script')
self.group = self.tr('Tools')

def getIcon(self):
return QgsApplication.getThemeIcon("/processingScript.svg")
self.name = self.tr("Create new script")
self.group = self.tr("Tools")

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

0 comments on commit 472b8bf

Please sign in to comment.
You can’t perform that action at this time.