X-Git-Url: http://git.code-monkey.de/?p=embrace.git;a=blobdiff_plain;f=bin%2Fembrace;h=2316b0ddbc3cc8bd703a4260109e85e4efc38849;hp=8feccd3aff578921273392d1b24a95de89dbe492;hb=4fb9f489f87f5e5afeeade1c2a49a461de910bc4;hpb=e4a1763a49c6ad35ab3a93448e5aa1db8aaddead diff --git a/bin/embrace b/bin/embrace index 8feccd3..2316b0d 100755 --- a/bin/embrace +++ b/bin/embrace @@ -235,6 +235,7 @@ module Embrace def delete_at(i) Kernel.raise(ContainerLockedError) unless @about_to_add.zero? + Kernel.raise(ContainerLockedError) unless @add_lock_count.zero? # icons that are placed above the one that's deleted need # to be moved