Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel Piech2009-02-25 14:28:44 -0500
committerPawel Piech2009-02-25 14:28:44 -0500
commit5cf1272afdd14298ab236771d8b378fe279f0e8d (patch)
treea1d9938fb5ea3d4d8615fde3bba8952e334678d0
parente0a888a60988a92d30e108a6e75ece9665dc4020 (diff)
downloadeclipse.platform.debug-5cf1272afdd14298ab236771d8b378fe279f0e8d.tar.gz
eclipse.platform.debug-5cf1272afdd14298ab236771d8b378fe279f0e8d.tar.xz
eclipse.platform.debug-5cf1272afdd14298ab236771d8b378fe279f0e8d.zip
Bug 266191 - [breadcrumb] NPE after resizing the drop-down viewer.
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/breadcrumb/BreadcrumbItemDropDown.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/breadcrumb/BreadcrumbItemDropDown.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/breadcrumb/BreadcrumbItemDropDown.java
index ef223775a..808f51256 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/breadcrumb/BreadcrumbItemDropDown.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/breadcrumb/BreadcrumbItemDropDown.java
@@ -316,7 +316,7 @@ class BreadcrumbItemDropDown implements IBreadcrumbDropDownSite {
if (DEBUG)
System.out.println("focusOut - is breadcrumb tree: " + isFocusBreadcrumbTreeFocusWidget); //$NON-NLS-1$
- if (event.display.getActiveShell() != shell) {
+ if (event.display.getActiveShell() == null) {
if (DEBUG)
System.out.println("==> closing shell since event.display.getActiveShell() != shell"); //$NON-NLS-1$
shell.close();

Back to the top