mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
fix crash when clearing inputbox
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user