[Libreoffice-commits] core.git: wizards/com

Caolán McNamara caolanm at redhat.com
Thu Jan 26 14:07:19 UTC 2017


 wizards/com/sun/star/wizards/web/BackgroundsDialog.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e99364e34b79c89ed5b77eb4f985eab4546dadac
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Jan 26 14:04:49 2017 +0000

    fix wrong indent
    
    since...
    
    commit 6ec8387bea9015c4487f76cebd045a1a6e291bc4
    Author: Caolán McNamara <caolanm at redhat.com>
    Date:   Thu Jan 19 15:56:12 2017 +0000
    
        unbreak this wizard enough to run it
    
    though in fairness it didn't work before that change anyway
    
    Change-Id: Ibd454ec781c6a5ca65ad08f894854b556b046be6

diff --git a/wizards/com/sun/star/wizards/web/BackgroundsDialog.py b/wizards/com/sun/star/wizards/web/BackgroundsDialog.py
index d096873..1844876 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(


More information about the Libreoffice-commits mailing list