Skip to content

Commit 2ff635c

Browse files
committed
Revert "Set the selection to 1st CTabItem when it is created."
This reverts commit 49c04a7 because it introduces regressions in client code. See #46 (comment)
1 parent d3df796 commit 2ff635c

File tree

1 file changed

+0
-1
lines changed
  • bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom

1 file changed

+0
-1
lines changed

bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,6 @@ void createItem (CTabItem item, int index) {
768768
priority = newPriority;
769769

770770
if (items.length == 1) {
771-
setSelection(0);
772771
updateFolder(UPDATE_TAB_HEIGHT | REDRAW);
773772
} else {
774773
updateFolder(REDRAW_TABS);

0 commit comments

Comments
 (0)