diff options
author | Wassim Melhem | 2004-11-03 00:10:07 +0000 |
---|---|---|
committer | Wassim Melhem | 2004-11-03 00:10:07 +0000 |
commit | 9017959826451c162b89b9946288ee8168577d3e (patch) | |
tree | d349bada35592f4508a60a269a7b5e3b80f60c4d | |
parent | 9d644bf7955448ede46be15f7a3e3a2c98b81887 (diff) | |
download | eclipse.pde.ui-9017959826451c162b89b9946288ee8168577d3e.tar.gz eclipse.pde.ui-9017959826451c162b89b9946288ee8168577d3e.tar.xz eclipse.pde.ui-9017959826451c162b89b9946288ee8168577d3e.zip |
*** empty log message ***v20041102b
-rw-r--r-- | ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/PDEFormPage.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/PDEFormPage.java b/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/PDEFormPage.java index e2a718ddaf..296a3f2c85 100644 --- a/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/PDEFormPage.java +++ b/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/PDEFormPage.java @@ -79,7 +79,10 @@ public abstract class PDEFormPage extends FormPage { } protected Control getFocusControl() { - Control control = getManagedForm().getForm(); + IManagedForm form = getManagedForm(); + if (form == null) + return null; + Control control = form.getForm(); if (control == null || control.isDisposed()) return null; Display display = control.getDisplay(); |