diff options
author | Lakshmi Shanmugam <lshanmugam> | 2011-02-09 11:03:30 +0000 |
---|---|---|
committer | Lakshmi Shanmugam <lshanmugam> | 2011-02-09 11:03:30 +0000 |
commit | 99d72110db254e3009fcc7b70804d6cb1872ce28 (patch) | |
tree | 8855bed8e3937f74becb58bc83688b423f72b350 | |
parent | 424c56c2c1a48fb26944920ea07e5617b7104efb (diff) | |
download | eclipse.platform.swt-99d72110db254e3009fcc7b70804d6cb1872ce28.tar.gz eclipse.platform.swt-99d72110db254e3009fcc7b70804d6cb1872ce28.tar.xz eclipse.platform.swt-99d72110db254e3009fcc7b70804d6cb1872ce28.zip |
Bug 320636 - CCombo setFocus does not work
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java index aceaceda0e..8768f44df6 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java @@ -1429,7 +1429,7 @@ public void setEnabled (boolean enabled) { } public boolean setFocus () { checkWidget(); - if (!isEnabled () || !isVisible ()) return false; + if (!isEnabled () || !getVisible ()) return false; if (isFocusControl ()) return true; return text.setFocus (); } |