Changeset 237:98b80b00af79

Show
Ignore:
Timestamp:
04/26/08 04:01:30 (1 year ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

Fix problem with dmd 1.029

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/custom/TreeEditor.d

    r152 r237  
    119119            runnable = new class() Runnable { 
    120120                public void run() { 
    121                     if (editor is null || editor.isDisposed()) return; 
     121                    if (this.outer.outer.editor is null || this.outer.outer.editor.isDisposed()) return; 
    122122                    if (this.outer.outer.tree.isDisposed()) return; 
    123123                    layout(); 
    124                     editor.setVisible(true); 
     124                    this.outer.outer.editor.setVisible(true); 
    125125                } 
    126126            }; 
    127127        } 
    128128        public void treeCollapsed(TreeEvent e) { 
    129             if (editor is null || editor.isDisposed ()) return; 
    130             editor.setVisible(false); 
     129            if (this.outer.editor is null || this.outer.editor.isDisposed ()) return; 
     130            this.outer.editor.setVisible(false); 
    131131            e.display.asyncExec(runnable); 
    132132        } 
    133133        public void treeExpanded(TreeEvent e) { 
    134             if (editor is null || editor.isDisposed ()) return; 
    135             editor.setVisible(false); 
     134            if (this.outer.editor is null || this.outer.editor.isDisposed ()) return; 
     135            this.outer.editor.setVisible(false); 
    136136            e.display.asyncExec(runnable); 
    137137        }