Skip to content

Commit

Permalink
[processing] restore Create new model tool in toolbox (fix #9847)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Mar 25, 2014
1 parent 4ffdef4 commit bd3f5b1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -45,7 +47,7 @@ class ModelerAlgorithmProvider(AlgorithmProvider):

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

Expand Down

0 comments on commit bd3f5b1

Please sign in to comment.