| Summary: | ComboBox#setText works wrong | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Igor Pavlenko <dopperst> | ||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | RESOLVED DUPLICATE | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 1.2 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 140954 [details]
Patch to fix the problem
*** This bug has been marked as a duplicate of bug 280994 *** |
ComboBox#setText works wrong. The fix is very simple. Replace: if( verifiedText == items[i] ) { with: if( verifiedText.equals( items[i] ) ) { Strings should be compared with equal method =)