summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wizards/com/sun/star/wizards/web/BackgroundsDialog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wizards/com/sun/star/wizards/web/BackgroundsDialog.py b/wizards/com/sun/star/wizards/web/BackgroundsDialog.py
index d096873b8c38..1844876954f4 100644
--- a/wizards/com/sun/star/wizards/web/BackgroundsDialog.py
+++ b/wizards/com/sun/star/wizards/web/BackgroundsDialog.py
@@ -84,8 +84,8 @@ class BackgroundsDialog(ImageListDialog):
while i < self.il.listModel.getSize():
if self.il.listModel.getElementAt(i) == s:
return i
+ i += 1
- i += 1
self.il.listModel.add1(s)
try:
configView = Configuration.getConfigurationRoot(