UIPainterView.st
changeset 1752 78d47dc11501
parent 1746 bb4f759cf456
child 1785 300261fabf7d
--- a/UIPainterView.st	Tue Oct 07 23:35:08 2003 +0200
+++ b/UIPainterView.st	Thu Oct 09 20:53:46 2003 +0200
@@ -388,6 +388,9 @@
             self selection:containerToPasteInto.
         ].
     ].
+    containerToPasteInto isNil ifTrue:[
+        containerToPasteInto := self
+    ].
 
     (self canPaste:aSpecificationOrList) ifFalse:[
         Dialog warn:'Cannot paste into selected component (not a container ?)'.