class: UIPainter
authorClaus Gittinger <cg@exept.de>
Thu, 08 May 2014 14:39:42 +0200
changeset 3108 325b4bd1ee46
parent 3107 985c4b07da6a
child 3109 92920c76aae3
class: UIPainter changed: #updateChannels
UIPainter.st
--- a/UIPainter.st	Thu May 08 03:07:09 2014 +0200
+++ b/UIPainter.st	Thu May 08 14:39:42 2014 +0200
@@ -3618,6 +3618,8 @@
 
     |canCutOrCopy|
 
+    treeView isNil ifTrue:[^ self].
+
     self canMoveOrAlignSelection        value:(treeView canMoveOrAlignSelection).
     self canResizeSelection             value:(treeView canResizeSelection).
     self canExchangeSelectionLayouts    value:(treeView canExchangeSelectionLayouts).