1
0
mirror of https://github.com/kepler155c/opus synced 2024-12-29 01:50:27 +00:00

Fix empty TextEntry in cloud config

This commit is contained in:
Anavrins 2019-12-11 11:18:02 -05:00
parent db2a28f04c
commit 6204c46cc4

View File

@ -42,7 +42,7 @@ To obtain a key, visit:
function tab:eventHandler(event) function tab:eventHandler(event)
if event.type == 'update_key' then if event.type == 'update_key' then
if #self.key.value > 0 then if self.key.value then
config.key = self.key.value config.key = self.key.value
else else
config.key = nil config.key = nil