Skip to content

Commit 2a51e8c

Browse files
authored
Revert "Set the selection to 1st CTabItem when it is created." (#1087)
This reverts commit 0532901.
1 parent 974992c commit 2a51e8c

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
@@ -774,7 +774,6 @@ void createItem (CTabItem item, int index) {
774774
priority = newPriority;
775775

776776
if (items.length == 1) {
777-
setSelection(0);
778777
updateFolder(UPDATE_TAB_HEIGHT | REDRAW);
779778
} else {
780779
updateFolder(REDRAW_TABS);

0 commit comments

Comments
 (0)