changeset 18:702ee8e475df

Backed out changeset: bd1e3b743518
author KarstenBock@gmx.net
date Wed, 10 Aug 2011 21:07:06 +0200
parents 7b31de1dc964
children 16c959864d41
files systems/container.py
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/systems/container.py	Wed Aug 03 22:57:52 2011 +0200
+++ b/systems/container.py	Wed Aug 10 21:07:06 2011 +0200
@@ -48,10 +48,7 @@
                         containable.current_container = new_container
                         old_containable = new_container.children.pop(new_slot)
                         old_containable.current_container = drag_container
-                        drag_container.children.append(old_containable)
-                    else:
-                        new_container.append(containable)
-                        containable.current_container = new_container
+                        drag_container.children = [old_containable]
                 else:
                     for listener in self.on_bulk_to_big:
                         listener(bulk, new_container.max_bulk)