Author: scabanovich
Date: 2009-06-08 10:47:52 -0400 (Mon, 08 Jun 2009)
New Revision: 15775
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/AbstractSectionEditor.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4433
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/AbstractSectionEditor.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/AbstractSectionEditor.java 2009-06-08
13:58:18 UTC (rev 15774)
+++
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/AbstractSectionEditor.java 2009-06-08
14:47:52 UTC (rev 15775)
@@ -156,7 +156,7 @@
public void setFocus() {
if(control == null) return;
- wrapper.setFocus();
+ if(!wrapper.isDisposed()) wrapper.setFocus();
}
public Object getAdapter(Class adapter) {