Skip to content

Commit

Permalink
Autocomplete的placeholder的一处bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tinymins committed Aug 19, 2015
1 parent 46e9940 commit c0c6f65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .Framework/src/MY.UI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,7 @@ function XGUI:text(szText)
ele.hdl:FormatAllItemPos()
elseif ele.type == "WndSliderBox" and type(szText)=="function" then
ele.sld.FormatText = szText
elseif ele.type == "WndEditBox" then
elseif ele.type == "WndEditBox" or ele.type == "WndAutocomplete" then
ele.edt:SetText(szText)
if szText == "" then
ele.phd:Show()
Expand Down

0 comments on commit c0c6f65

Please sign in to comment.