Fix regression in text widget

This commit is contained in:
airstruck
2016-01-30 15:35:00 -05:00
parent 4f03f6af52
commit 04fcd2c5f4

View File

@@ -266,9 +266,9 @@ end
-- Special keys.
local function createDefaultKeyActions (self)
return {
['return'] = function ()
-- just a dummy function to trap event
end,
-- dummy functions to trap events
['return'] = function () end,
['space'] = function () end,
['backspace'] = function ()
if not deleteRange(self) then
deleteCharacterLeft(self)