diff --git a/gui.lua b/gui.lua index 0651daf..f1f71c7 100644 --- a/gui.lua +++ b/gui.lua @@ -172,10 +172,10 @@ function mail.show_sent(name) end end end - --if selected_idxs.messages[name] then - -- formspec[#formspec + 1] = ";" - -- formspec[#formspec + 1] = tostring(selected_idxs.messages[name] + 1) - --end + if selected_idxs.messages[name] then + formspec[#formspec + 1] = ";" + formspec[#formspec + 1] = tostring(selected_idxs.messages[name] + 1) + end formspec[#formspec + 1] = "]" end end