1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-16 04:35:45 +02:00

Patch for bug 187118 by Jason Montojo - Missing options on Connection tab in Linux

This commit is contained in:
Vivian Kong 2007-05-18 15:41:36 +00:00
parent 90274d54bd
commit 4a76aaf29f

View file

@ -1,5 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2005 IBM Corporation and others. * Copyright (c) 2005, 2007 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials * All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0 * are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at * which accompanies this distribution, and is available at
@ -197,6 +197,7 @@ public class ComboDialogField extends DialogField {
public void selectItem(int index) { public void selectItem(int index) {
if (isOkToUse(fComboControl)) { if (isOkToUse(fComboControl)) {
fComboControl.select(index); fComboControl.select(index);
fSelectionIndex= index;
} else { } else {
if (index >= 0 && index < fItems.length) { if (index >= 0 && index < fItems.length) {
fText= fItems[index]; fText= fItems[index];