aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Components/Sources/List.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Components/Sources/List.py b/lib/python/Components/Sources/List.py
index d7221296..82504401 100644
--- a/lib/python/Components/Sources/List.py
+++ b/lib/python/Components/Sources/List.py
@@ -49,7 +49,7 @@ to generate HTML."""
if self.master is not None:
return self.master.index
else:
- return -1
+ return None
setCurrentIndex = setIndex