summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2025-08-12 19:55:13 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-08-12 20:31:00 +0300
commitea24792fec5601162197653f6bc27de0272d18bd (patch)
treeda048282a8577729c9cc5eba0f550bcce6c22bc8
parent1bcdf6824ce74360b27e0ad0bc307c72171cf653 (diff)
#4524 LLControlVariable error
-rw-r--r--indra/llxml/llcontrol.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llxml/llcontrol.cpp b/indra/llxml/llcontrol.cpp
index bb590ebd76..562a30e8d1 100644
--- a/indra/llxml/llcontrol.cpp
+++ b/indra/llxml/llcontrol.cpp
@@ -157,6 +157,9 @@ LLControlVariable::LLControlVariable(const std::string& name, eControlType type,
{
if ((persist != PERSIST_NO) && mComment.empty())
{
+ // File isn't actually missing, but something is wrong with it
+ // so the main point is to warn user to reinstall
+ LLError::LLUserWarningMsg::showMissingFiles();
LL_ERRS() << "Must supply a comment for control " << mName << LL_ENDL;
}
//Push back versus setValue'ing here, since we don't want to call a signal yet