From ed700777982ff5e0a5740ea993111bc439e2d9a2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Fri, 29 Aug 2014 13:44:40 +0200 Subject: [PATCH 1/1] Optimisation --- skins/selection_view.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 : -- 2.20.1