Commit f07e86dd authored by mercury233's avatar mercury233

don't send EGET_EDITBOX_CHANGED if input is empty (by IME)

parent 8b5cca6a
......@@ -1337,10 +1337,10 @@ void CGUIEditBox::inputChar(wchar_t c)
BlinkStartTime = os::Timer::getTime();
setTextMarkers(0, 0);
}
breakText();
calculateScrollPos();
sendGuiEvent(EGET_EDITBOX_CHANGED);
}
breakText();
calculateScrollPos();
sendGuiEvent(EGET_EDITBOX_CHANGED);
}
// calculate autoscroll
......
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