summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid McMackins II <contact@mcmackins.org>2018-01-02 21:30:28 -0600
committerDavid McMackins II <contact@mcmackins.org>2018-01-02 21:30:28 -0600
commit7ee7e5dfd32033f7646d5a4325048dfbfd170412 (patch)
treebcced42a2b1081910c282e215953df12227d3048
parent9c5344dc12468a9201f2fff7dc17232db5fe9985 (diff)
Fix flag name
-rw-r--r--gui.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui.lua b/gui.lua
index 9f73101..40eec41 100644
--- a/gui.lua
+++ b/gui.lua
@@ -75,7 +75,7 @@ function Gui:mousereleased(x, y, button)
end
function Gui:textinput(c)
- if self._active and self._active.usereditable then
+ if self._active and self._active.texteditable then
self._active:textinput(c)
return true
end
@@ -122,7 +122,7 @@ function GuiComponent:__init(x, y, w, h, bg, fg, state)
self.clicked = false
self.clicklisteners = {}
self.text = ''
- self.usereditable = false
+ self.texteditable = false
self.visible = false
end