Skip to content

Commit

Permalink
[processing] ressurect 'new script' action
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Feb 5, 2018
1 parent 7115e04 commit 472b8bf
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions python/plugins/processing/script/CreateNewScriptAction.py
Expand Up @@ -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)
Expand Down

0 comments on commit 472b8bf

Please sign in to comment.