Skip to content

Commit

Permalink
[processing] fixed model help editing
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Jan 22, 2015
1 parent cd556e6 commit 7106384
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion python/plugins/processing/modeler/ModelerDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,11 @@ def closeEvent(self, evt):
evt.accept()

def editHelp(self):
dlg = HelpEditionDialog(self.alg)
if self.alg.provider is None:
# Might happen if model is opened from modeler dialog
self.alg.provider = ModelerUtils.providers['model']
alg = self.alg.getCopy()
dlg = HelpEditionDialog(alg)
dlg.exec_()
if dlg.descriptions:
self.hasChanged = True
Expand Down

0 comments on commit 7106384

Please sign in to comment.