--- a/UIPainterView.st Tue Dec 11 16:05:01 2007 +0100
+++ b/UIPainterView.st Tue Dec 11 16:05:04 2007 +0100
@@ -395,7 +395,11 @@
containerToPasteInto notNil ifTrue:[
"/ search up parent list for something we can paste into
[containerToPasteInto notNil and:[(self canPasteInto:containerToPasteInto) not]] whileTrue:[
- containerToPasteInto := containerToPasteInto container.
+ containerToPasteInto == self ifTrue:[
+ containerToPasteInto := nil
+ ] ifFalse:[
+ containerToPasteInto := containerToPasteInto container.
+ ].
].
self selection:containerToPasteInto.
].