Commit 1cd81a4f authored by bitplane's avatar bitplane

Cause change event for EGET_EDITBOX_ENTER in spinbox, reported by ceyron


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3571 dfc29bdd-3216-0410-991c-e03cc46cb475
parent fc4a65a5
......@@ -215,7 +215,7 @@ bool CGUISpinBox::OnEvent(const SEvent& event)
changeEvent = true;
}
}
if ( event.GUIEvent.EventType == EGET_EDITBOX_CHANGED )
if (event.GUIEvent.EventType == EGET_EDITBOX_CHANGED || event.GUIEvent.EventType == EGET_EDITBOX_ENTER)
{
if (event.GUIEvent.Caller == EditBox)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment