#OTHER
authorClaus Gittinger <cg@exept.de>
Fri, 15 Jan 2016 17:49:06 +0100
changeset 5535 e5d3b0fec9d1
parent 5534 a4b0471717d0
child 5536 b5b14ac35684
#OTHER class: VariablePanel changed: #removeSubView: skip resizing, when being destroyed
VariablePanel.st
--- a/VariablePanel.st	Fri Jan 15 17:17:24 2016 +0100
+++ b/VariablePanel.st	Fri Jan 15 17:49:06 2016 +0100
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 1991 by Claus Gittinger
 	      All Rights Reserved
@@ -1354,8 +1352,10 @@
         realized 
         "/ (superView isNil or:[superView shown]) 
         ifTrue:[
-            self setupSubviews.
-            self resizeSubviews.
+            self isBeingDestroyed ifFalse:[
+                self setupSubviews.
+                self resizeSubviews.
+            ]
         ]
     ]
 ! !