Author: scabanovich
Date: 2009-06-10 10:17:02 -0400 (Wed, 10 Jun 2009)
New Revision: 15861
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/TreeFormPage.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4356
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/TreeFormPage.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/TreeFormPage.java 2009-06-10
14:11:04 UTC (rev 15860)
+++
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/TreeFormPage.java 2009-06-10
14:17:02 UTC (rev 15861)
@@ -410,6 +410,7 @@
}
public void setFocus() {
+ if(control != null && !control.isDisposed()) control.setFocus();
}
public Object getAdapter(Class adapter) {