Commit 124e9402 authored by cutealien's avatar cutealien

change EGET_EDITBOX_CHANGED: triggers now only on user input not on explict...

change EGET_EDITBOX_CHANGED: triggers now only on user input not on explict changes (same like other _CHANGED events)


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2412 dfc29bdd-3216-0410-991c-e03cc46cb475
parent a7865ae2
......@@ -68,9 +68,6 @@ CGUIEditBox::CGUIEditBox(const wchar_t* text, bool border,
breakText();
if ( Text.size() )
sendGuiEvent(EGET_EDITBOX_CHANGED);
calculateScrollPos();
}
......@@ -873,9 +870,7 @@ void CGUIEditBox::setText(const wchar_t* text)
Text = text;
CursorPos = 0;
HScrollPos = 0;
setTextMarkers(0, 0);
breakText();
sendGuiEvent(EGET_EDITBOX_CHANGED);
}
......
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