diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2024-10-11 17:55:27 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2024-10-11 17:55:27 +0300 |
commit | 3f4c977bc9c4604f0216f0463bd609c615b6c0b7 (patch) | |
tree | f0216345764fef35bafdee0c992da6f2d2bd2f5e /indra/newview/scripts/lua/test_luafloater_demo.lua | |
parent | d69ad11a8d0d1a3b02ff75fdec7e2b230a526abc (diff) |
Update demo scripts
Diffstat (limited to 'indra/newview/scripts/lua/test_luafloater_demo.lua')
-rw-r--r-- | indra/newview/scripts/lua/test_luafloater_demo.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/scripts/lua/test_luafloater_demo.lua b/indra/newview/scripts/lua/test_luafloater_demo.lua index 2158134511..23310c6176 100644 --- a/indra/newview/scripts/lua/test_luafloater_demo.lua +++ b/indra/newview/scripts/lua/test_luafloater_demo.lua @@ -14,7 +14,7 @@ function flt:handleEvents(event_data) end function flt:commit_disable_ctrl(event_data) - self:post({action="set_enabled", ctrl_name="open_btn", value = (1 - event_data.value)}) + self:post({action="set_enabled", ctrl_name="open_btn", value = not event_data.value}) end function flt:commit_title_cmb(event_data) |