Mercurial > projects > dwt-linux
changeset 237:98b80b00af79
Fix problem with dmd 1.029
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 26 Apr 2008 10:01:30 +0200 |
parents | 329f277b58a0 |
children | 380bad9f6852 |
files | dwt/custom/TreeEditor.d |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/dwt/custom/TreeEditor.d Sun Apr 20 00:19:27 2008 +0200 +++ b/dwt/custom/TreeEditor.d Sat Apr 26 10:01:30 2008 +0200 @@ -118,21 +118,21 @@ this(){ runnable = new class() Runnable { public void run() { - if (editor is null || editor.isDisposed()) return; + if (this.outer.outer.editor is null || this.outer.outer.editor.isDisposed()) return; if (this.outer.outer.tree.isDisposed()) return; layout(); - editor.setVisible(true); + this.outer.outer.editor.setVisible(true); } }; } public void treeCollapsed(TreeEvent e) { - if (editor is null || editor.isDisposed ()) return; - editor.setVisible(false); + if (this.outer.editor is null || this.outer.editor.isDisposed ()) return; + this.outer.editor.setVisible(false); e.display.asyncExec(runnable); } public void treeExpanded(TreeEvent e) { - if (editor is null || editor.isDisposed ()) return; - editor.setVisible(false); + if (this.outer.editor is null || this.outer.editor.isDisposed ()) return; + this.outer.editor.setVisible(false); e.display.asyncExec(runnable); } };