Skip to content
Permalink
Browse files

[processing] restore Create new model tool in toolbox (fix #9847)

  • Loading branch information
alexbruy committed Mar 25, 2014
1 parent 4ffdef4 commit bd3f5b136d0fcda9cfea5151e5eaa4a01943c381
Showing with 3 additions and 1 deletion.
  1. +3 −1 python/plugins/processing/modeler/ModelerAlgorithmProvider.py
@@ -31,6 +31,8 @@
from processing.core.AlgorithmProvider import AlgorithmProvider
from processing.core.ProcessingConfig import ProcessingConfig, Setting
from processing.core.ProcessingLog import ProcessingLog
from processing.modeler.CreateNewModelAction import \
CreateNewModelAction
from processing.modeler.SaveAsPythonScriptAction import \
SaveAsPythonScriptAction
from processing.modeler.ModelerUtils import ModelerUtils
@@ -45,7 +47,7 @@ class ModelerAlgorithmProvider(AlgorithmProvider):

def __init__(self):
AlgorithmProvider.__init__(self)
# self.actions = [CreateNewModelAction()]
self.actions = [CreateNewModelAction()]
self.contextMenuActions = [EditModelAction(), DeleteModelAction(),
SaveAsPythonScriptAction()]

0 comments on commit bd3f5b1

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