bug 1469012, exception in CompletionProposal
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / view / widget / ComboViewer.java
index 7dd692a..2b12aff 100644 (file)
@@ -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);
                                }
                        }