diff options
author | Richard Linden <none@none> | 2010-09-21 09:34:56 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2010-09-21 09:34:56 -0700 |
commit | e07c373bd4aef00aaa30735f722ed1b681a5d060 (patch) | |
tree | 9a6997cebf80289d275758c6c9c2007f3fbfad98 /indra/newview/llfirstuse.cpp | |
parent | a20a98454de522eba4da17881b85a0f16bb3c116 (diff) | |
parent | 71259fcccbfa834eab35eb3e98a7afc93786b32f (diff) |
merge
Diffstat (limited to 'indra/newview/llfirstuse.cpp')
-rw-r--r-- | indra/newview/llfirstuse.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/indra/newview/llfirstuse.cpp b/indra/newview/llfirstuse.cpp index 1764d6b145..dd08706f4f 100644 --- a/indra/newview/llfirstuse.cpp +++ b/indra/newview/llfirstuse.cpp @@ -130,12 +130,15 @@ void LLFirstUse::firstUseNotification(const std::string& control_var, bool enabl if (enable) { - LL_DEBUGS("LLFirstUse") << "Trigger first use notification " << notification_name << LL_ENDL; + if (gSavedSettings.getBOOL("EnableUIHints")) + { + LL_DEBUGS("LLFirstUse") << "Trigger first use notification " << notification_name << LL_ENDL; - // if notification doesn't already exist and this notification hasn't been disabled... - if (gWarningSettings.getBOOL(control_var)) - { // create new notification - LLNotifications::instance().add(LLNotification::Params().name(notification_name).substitutions(args).payload(payload.with("control_var", control_var))); + // if notification doesn't already exist and this notification hasn't been disabled... + if (gWarningSettings.getBOOL(control_var)) + { // create new notification + LLNotifications::instance().add(LLNotification::Params().name(notification_name).substitutions(args).payload(payload.with("control_var", control_var))); + } } } else |