summaryrefslogtreecommitdiff
path: root/indra/llui/llmenugl.cpp
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2019-08-30 19:06:30 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2019-08-30 19:06:30 +0300
commit204d9c35e0fefd980a5d553f34a759e3a4b26731 (patch)
tree3546570a8f496a37966552dc8172ee500ef43238 /indra/llui/llmenugl.cpp
parent1bc652075b009f89da56d39d672b0120b1ccfd15 (diff)
SL-1171 [Dev tools] UI controls <-> settings connection issues
Diffstat (limited to 'indra/llui/llmenugl.cpp')
-rw-r--r--indra/llui/llmenugl.cpp6
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())