setSelected for ComboBox

Issue #220 resolved
Paul Turner created an issue

When you call set selected on the combo box, it doesn't simultaneously set the text of the edit box the combo box uses. as a result you have to say something like:

Code: local item = comboBox:findItemWithText( "OMG", nil ) comboBox:setItemSelectState( item, true ) comboBox:getEditbox():setText( "OMG" )

This should happen automatically when the item is set as selected.

Ref: http://www.cegui.org.uk/phpBB2/viewtopic.php?t=3410

Reproducibility: have not tried

Comments (1)

  1. Log in to comment