X-Git-Url: http://secure.phpeclipse.com

diff --git a/archive/net.sourceforge.phpeclipse.quantum.sql/src/com/quantum/view/widget/ComboViewer.java b/archive/net.sourceforge.phpeclipse.quantum.sql/src/com/quantum/view/widget/ComboViewer.java
index 7dd692a..2b12aff 100644
--- a/archive/net.sourceforge.phpeclipse.quantum.sql/src/com/quantum/view/widget/ComboViewer.java
+++ b/archive/net.sourceforge.phpeclipse.quantum.sql/src/com/quantum/view/widget/ComboViewer.java
@@ -70,7 +70,7 @@ public class ComboViewer extends ContentViewer {
 			Object object = ((IStructuredSelection) selection).getFirstElement();
 			for (int i = 0, length = this.objects == null ? 0 : this.objects.length; 
 					object != null && i < length; i++) {
-				if (this.objects[i] == object) {
+				if (this.objects[i].equals(object)) {
 					this.combo.select(i);
 				}
 			}