From: megacz Date: Fri, 30 Jan 2004 06:48:39 +0000 (+0000) Subject: 2002/07/01 21:04:13 X-Git-Tag: RC3~1654 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;ds=sidebyside;h=97895aee36c586b3648398c4d26c4ff954be5ffe;p=org.ibex.core.git 2002/07/01 21:04:13 darcs-hash:20040130064839-2ba56-e1ed60f2f1627555c167dc3068a76723c666f24c.gz --- diff --git a/src/org/xwt/SpecialBoxProperty.java b/src/org/xwt/SpecialBoxProperty.java index 79c0074..cb64849 100644 --- a/src/org/xwt/SpecialBoxProperty.java +++ b/src/org/xwt/SpecialBoxProperty.java @@ -478,7 +478,7 @@ class SpecialBoxProperty { public void put(String name, Box b, Object value) { if (b.surface == null) return; if (b.getParent() == null) { - if (b.surface.boxContainingMouse.getParent() != null) + if (b.surface.boxContainingMouse != null && b.surface.boxContainingMouse.getParent() != null) b.surface.boxContainingMouse.put(name, b.surface.boxContainingMouse, value); } else { // check siblings