Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Gayed2002-11-07 18:26:49 +0000
committerGrant Gayed2002-11-07 18:26:49 +0000
commit966d37c1acdb6d968a4825e69dca27b7e5b386ae (patch)
treea96207cb7ba3a720ec1de66b853668d35bfe636c
parent6a7d30056544d5a12c0e58e8be7a462799d68bc2 (diff)
downloadeclipse.platform.swt-966d37c1acdb6d968a4825e69dca27b7e5b386ae.tar.gz
eclipse.platform.swt-966d37c1acdb6d968a4825e69dca27b7e5b386ae.tar.xz
eclipse.platform.swt-966d37c1acdb6d968a4825e69dca27b7e5b386ae.zip
25797 (for Charlie)
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
index 4ad4b94e32..3a8743422e 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
@@ -998,9 +998,9 @@ public void setItems (String [] items) {
}
void setItems (String [] items, boolean keepText, boolean keepSelection) {
+ this.items = items;
int selectedIndex = -1;
if (keepSelection) selectedIndex = getSelectionIndex ();
- this.items = items;
if (items.length == 0) {
int itemsList = OS.gtk_container_get_children (listHandle);
if (itemsList != 0) {

Back to the top