diff options
author | Paul ProductEngine <pguslisty@productengine.com> | 2012-05-18 21:01:10 +0300 |
---|---|---|
committer | Paul ProductEngine <pguslisty@productengine.com> | 2012-05-18 21:01:10 +0300 |
commit | d9cf4691a7369004a1ceeb11ca8d3262648c05e7 (patch) | |
tree | bfeee25cbae98ba152afbb6c8e5aa4231c126431 /indra/llui | |
parent | f4edcdd4090cb6704603d5ef0dc8cf7a3f67399e (diff) |
MAINT-938 ADDITIONAL FIX (Make debit-permissions dialog give a stronger warning)
- Requested permissions are added dynamically to the dialog's footer
- And the footer is not shown when it is empty
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/llnotifications.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/llui/llnotifications.cpp b/indra/llui/llnotifications.cpp index 1dc657f915..09480968a6 100644 --- a/indra/llui/llnotifications.cpp +++ b/indra/llui/llnotifications.cpp @@ -876,8 +876,9 @@ std::string LLNotification::getFooter() const if (!mTemplatep) return std::string(); - std::string message = mTemplatep->mFooter; - return message; + std::string footer = mTemplatep->mFooter; + LLStringUtil::format(footer, mSubstitutions); + return footer; } std::string LLNotification::getLabel() const |