diff options
author | AndreyL ProductEngine <alihatskiy@productengine.com> | 2019-09-05 22:00:41 +0300 |
---|---|---|
committer | AndreyL ProductEngine <alihatskiy@productengine.com> | 2019-09-05 22:00:41 +0300 |
commit | c3bd256f3340e9223b8855368648f3925760c0b4 (patch) | |
tree | 072244e740dffe530b4bd9c7e41c3074ac337402 /indra/llui/llmenugl.cpp | |
parent | f636b48109e3234ce8a5c36502c7f2615c253bb1 (diff) | |
parent | 894725f3314d24c20414a9a2491cf0cd59882788 (diff) |
Upstream merge from viewer-neko
Diffstat (limited to 'indra/llui/llmenugl.cpp')
-rw-r--r-- | indra/llui/llmenugl.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llui/llmenugl.cpp b/indra/llui/llmenugl.cpp index 92543b952e..676c94468f 100644 --- a/indra/llui/llmenugl.cpp +++ b/indra/llui/llmenugl.cpp @@ -788,6 +788,12 @@ void LLMenuItemCallGL::initFromParams(const Params& p) { setEnabledControlVariable(control); } + else + { + LL_WARNS() << "Failed to assign 'enabled' control variable to menu " << getName() + << ": control " << p.on_enable.control_name() + << " does not exist." << LL_ENDL; + } } } if (p.on_click.isProvided()) |