Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java
index f1e528d364..29b62eac56 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java
@@ -922,7 +922,9 @@ boolean setTabGroupFocus () {
}
for (int i=0; i<children.length; i++) {
Control child = children [i];
- if (child.isTabItem () && child.setTabItemFocus ()) return true;
+ if (child.isTabItem () && !child.isTabGroup () && child.setTabItemFocus ()) {
+ return true;
+ }
}
return false;
}

Back to the top