COMBO: Fix bug that the select function is not apply
authorHyunJong Park <paulhj.park@samsung.com>
Wed, 17 Aug 2016 08:01:56 +0000 (17:01 +0900)
committerHyunJong Park <paulhj.park@samsung.com>
Wed, 17 Aug 2016 08:43:12 +0000 (17:43 +0900)
commit35dd049c42c1c0938e7c871e1cc6b831f048a8b2
tree7edd4cd96510045c91b5e80d0b9dc918c727cd29
parent17b80818d8771f61cf2d6b63bbd41a81a154afc2
COMBO: Fix bug that the select function is not apply

When user call the select(), the select() is calling the setText()
and, the setText() is calling the listener(SWT.Modify) of the user because change text.
but, when the user call getSelectionIndex() in the listener(SWT.Modify) of user,
the selection index has not yet been reflected.
So, first call to select() before the setText() is called.

Change-Id: Ib1f8762d13d4fb09ccae2ee76ad0689f901cb6a6
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/OriginalCCombo.java