From: Benoît Pin Date: Fri, 29 Aug 2014 11:44:40 +0000 (+0200) Subject: Optimisation X-Git-Url: https://scm.cri.ensmp.fr/git/Portfolio.git/commitdiff_plain/ed700777982ff5e0a5740ea993111bc439e2d9a2?hp=7343423f34790513dad5305d4a9cf9aba8d216e8 Optimisation --- 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 :