Optimisation
authorBenoît Pin <benoit.pin@gmail.com>
Fri, 29 Aug 2014 11:44:40 +0000 (13:44 +0200)
committerBenoît Pin <benoit.pin@gmail.com>
Fri, 29 Aug 2014 11:44:40 +0000 (13:44 +0200)
skins/selection_view.py

index c30d397..393e86b 100755 (executable)
@@ -46,9 +46,9 @@ if fg('delete.x') or form.has_key('delete') :
             selection.remove(uid)
             if selectionIsLightbox :
                 lightbox.remove(uid)
             selection.remove(uid)
             if selectionIsLightbox :
                 lightbox.remove(uid)
-            sd['objects_selection'] = selection
-            sd['objects_selection_dict'] = selDict
             rmCpt = rmCpt + 1
             rmCpt = rmCpt + 1
+    sd['objects_selection'] = selection
+    sd['objects_selection_dict'] = selDict
         
     # ui feedback message
     if rmCpt :
         
     # ui feedback message
     if rmCpt :