2 changes: 2 additions & 0 deletions python/plugins/processing/ProcessingPlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,14 @@ def openToolbox(self):

def openModeler(self):
dlg = ModelerDialog()
dlg.show()
dlg.exec_()
if dlg.update:
self.toolbox.updateTree()

def openResults(self):
dlg = ResultsDialog()
dlg.show()
dlg.exec_()

def openHistory(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,7 @@ def processAlgorithm(self, progress):

features = vector.features(layer)
featureCount = len(features)
output = self.getOutputFromName(self.OUTPUT)
output = self.getOutputFromName(self.RESULT)
writer = output.getVectorWriter(fields,
provider.geometryType(), layer.crs())
for (i, feat) in enumerate(features):
Expand Down
1 change: 1 addition & 0 deletions python/plugins/processing/gui/CreateNewScriptAction.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def execute(self):
dlg = ScriptEditorDialog(ScriptEditorDialog.SCRIPT_PYTHON, None)
if self.scriptType == self.SCRIPT_R:
dlg = ScriptEditorDialog(ScriptEditorDialog.SCRIPT_R, None)
dlg.show()
dlg.exec_()
if dlg.update:
self.toolbox.updateTree()
1 change: 1 addition & 0 deletions python/plugins/processing/modeler/CreateNewModelAction.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def getIcon(self):

def execute(self):
dlg = ModelerDialog()
dlg.show()
dlg.exec_()
if dlg.update:
self.toolbox.updateTree()
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