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