Skip to content
Permalink
Browse files
[processing] ressurect 'new script' action
  • Loading branch information
alexbruy committed Feb 5, 2018
1 parent 7115e04 commit 472b8bf
Showing 1 changed file with 2 additions and 7 deletions.
@@ -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.