Skip to content

Commit

Permalink
[sextante] fixed problem when defining help files for the first time
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed May 5, 2013
1 parent 94a976c commit 87f7ea1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/plugins/sextante/gui/HelpEditionDialog.py
Expand Up @@ -49,7 +49,8 @@ def __init__(self, alg):
f = open(helpfile, "rb")
self.descriptions = pickle.load(f)
self.currentName = self.ALG_DESC
self.text.setText(self.descriptions[self.ALG_DESC])
if self.ALG_DESC in self.descriptions:
self.text.setText(self.descriptions[self.ALG_DESC])
self.tree.itemClicked.connect(self.changeItem)

self.fillTree()
Expand Down

0 comments on commit 87f7ea1

Please sign in to comment.