From: Benoît Pin Date: Fri, 29 Aug 2014 11:44:40 +0000 (+0200) Subject: Optimisation X-Git-Url: https://scm.cri.mines-paristech.fr/git/Portfolio.git/commitdiff_plain/ed700777982ff5e0a5740ea993111bc439e2d9a2?hp=--cc Optimisation --- ed700777982ff5e0a5740ea993111bc439e2d9a2 diff --git a/skins/selection_view.py b/skins/selection_view.py index c30d397..393e86b 100755 --- a/skins/selection_view.py +++ b/skins/selection_view.py @@ -46,9 +46,9 @@ if fg('delete.x') or form.has_key('delete') : selection.remove(uid) if selectionIsLightbox : lightbox.remove(uid) - sd['objects_selection'] = selection - sd['objects_selection_dict'] = selDict rmCpt = rmCpt + 1 + sd['objects_selection'] = selection + sd['objects_selection_dict'] = selDict # ui feedback message if rmCpt :