Skip to content

Commit

Permalink
Revert "Set the selection to 1st CTabItem when it is created."
Browse files Browse the repository at this point in the history
This reverts commit 49c04a7 because it
introduces regressions in client code.

See eclipse-platform#46 (comment)
  • Loading branch information
iloveeclipse committed May 14, 2024
1 parent d3df796 commit 8a33ff7
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,6 @@ void createItem (CTabItem item, int index) {
priority = newPriority;

if (items.length == 1) {
setSelection(0);
updateFolder(UPDATE_TAB_HEIGHT | REDRAW);
} else {
updateFolder(REDRAW_TABS);
Expand Down

0 comments on commit 8a33ff7

Please sign in to comment.