projects
/
embrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4a1763
)
don't delete icons while we're deleting others
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Mon, 22 May 2006 18:32:28 +0000
(20:32 +0200)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Mon, 22 May 2006 18:32:28 +0000
(20:32 +0200)
bin/embrace
patch
|
blob
|
history
diff --git
a/bin/embrace
b/bin/embrace
index 8feccd3aff578921273392d1b24a95de89dbe492..2316b0ddbc3cc8bd703a4260109e85e4efc38849 100755
(executable)
--- 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