mirror of
https://github.com/airstruck/luigi.git
synced 2025-11-18 12:25:06 +00:00
Fix regression in text widget
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user