jk3064 / chiliui

a lua-based opengl GUI
GNU General Public License v2.0
15 stars 9 forks source link

layoutPanel:New() selects first item in list but does not call OnSelectItem() #40

Closed KlonZK closed 8 years ago

KlonZK commented 8 years ago

both only happens if the layoutpanel has the "selectable" flag set.

makes no real sense to force a selection, but if so, the listener should be called.