mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-18 16:04:22 +00:00
Merge pull request #122 from berghton/patch-1
Check if editable when entering text
This commit is contained in:
commit
24a4b9f798
@ -746,6 +746,9 @@ function newobject:RunKey(key, istext)
|
||||
self:MoveIndicator(#self.tabreplacement)
|
||||
end
|
||||
else
|
||||
if not editable then
|
||||
return
|
||||
end
|
||||
-- do not continue if the text limit has been reached or exceeded
|
||||
if #text >= self.limit and self.limit ~= 0 and not alltextselected then
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user