summaryrefslogtreecommitdiff
path: root/indra/llxml/llcontrol.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-08-15 06:14:30 +0800
committerErik Kundiman <erik@megapahit.org>2025-08-15 06:14:30 +0800
commit1b208964506c31da88353e058bba83813c468756 (patch)
tree89547add1b4a4a8c78afa50b72d35d6e818f8a33 /indra/llxml/llcontrol.cpp
parent6826fd3eb2607b334017f1312e7cac945cae2907 (diff)
parent922d2324d06326602fdf5770bc555e3e9f90e74b (diff)
Merge tag 'Second_Life_Release#922d2324-2025.06' into 2025.06
Diffstat (limited to 'indra/llxml/llcontrol.cpp')
-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