We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d8e426 commit d83b949Copy full SHA for d83b949
python/plugins/sextante/gui/SextanteToolbox.py
@@ -152,8 +152,8 @@ def fillTree(self):
152
def addRecentAlgorithms(self):
153
showRecent = SextanteConfig.getSetting(SextanteConfig.SHOW_RECENT_ALGORITHMS)
154
if showRecent:
155
- first = self.algorithmTree.topLevelItem(0)
156
- if first.text(0) == "Recently used algorithms":
+ first = self.algorithmTree.topLevelItem(0)
+ if first != None and first.text(0) == "Recently used algorithms":
157
self.algorithmTree.removeItemWidget(first, 0)
158
recent = SextanteLog.getRecentAlgorithms()
159
if len(recent) != 0:
0 commit comments