DiffTextView.st
changeset 16329 8727c046cfe7
parent 16246 c5c24804be28
child 16336 57393d9e51b3
child 16744 072de442c2fa
--- a/DiffTextView.st	Tue Apr 26 15:20:38 2016 +0200
+++ b/DiffTextView.st	Wed Apr 27 12:26:01 2016 +0200
@@ -600,7 +600,8 @@
 
     |container vScroller thumb|
 
-    (container := self container) isScrollWrapper ifTrue:[
+    ((container := self container) notNil
+    and:[container isScrollWrapper]) ifTrue:[
         (vScroller := container verticalScrollBar) notNil ifTrue:[
             (thumb := vScroller thumb) notNil ifTrue:[
                 thumb viewBackground:(DiffTextScrollerBackground new diffView:self).