fix crash when clearing inputbox

pull/2108/head
chrox 8 years ago
parent 3d7fe1002c
commit f1b76d41d9

@ -177,6 +177,7 @@ function InputText:delChar()
end
function InputText:clear()
self.charpos = nil
self:initTextBox("")
UIManager:setDirty(self.parent, function()
return "ui", self[1][1].dimen

Loading…
Cancel
Save