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(