From 97895aee36c586b3648398c4d26c4ff954be5ffe Mon Sep 17 00:00:00 2001 From: megacz Date: Fri, 30 Jan 2004 06:48:39 +0000 Subject: [PATCH] 2002/07/01 21:04:13 darcs-hash:20040130064839-2ba56-e1ed60f2f1627555c167dc3068a76723c666f24c.gz --- src/org/xwt/SpecialBoxProperty.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4