diff options
| -rw-r--r-- | indra/newview/llappviewer.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 67e8214bf2..b0c13d9818 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -3144,7 +3144,11 @@ static void apply_localized_comments(LLControlGroup& group, const LLSD& comments LLControlVariablePtr control = group.getControl(it->first); if (control.notNull()) { - control->setComment(it->second.asString()); + const std::string comment = it->second.asString(); + if (!comment.empty()) + { + control->setComment(comment); + } } } } |
