aboutsummaryrefslogtreecommitdiffstats
path: root/label.lua
diff options
context:
space:
mode:
Diffstat (limited to 'label.lua')
-rw-r--r--label.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/label.lua b/label.lua
index c84d08e..345516c 100644
--- a/label.lua
+++ b/label.lua
@@ -46,7 +46,7 @@ return function(w)
end
end
- local id = core.generateID()
+ local id = w.id or core.generateID()
local pos, size = group.getRect(w.pos, w.size)
if keyboard.hasFocus(id) then