diff options
author | Todd Stinson <stinson@lindenlab.com> | 2012-05-21 14:01:31 -0700 |
---|---|---|
committer | Todd Stinson <stinson@lindenlab.com> | 2012-05-21 14:01:31 -0700 |
commit | 061da28f58b29954d06f7a6699474b12bb9f4c63 (patch) | |
tree | 30ecb2d3e055ffdcc75ab5c7790057cb904c7510 /indra/newview/llsidepaneltaskinfo.cpp | |
parent | 2720449daa4b07188fd9a2f24246817f963c6d5c (diff) |
EXP-1941: Adding in debug setting to force enable purchase flow disregarding other checks including maturity.
Diffstat (limited to 'indra/newview/llsidepaneltaskinfo.cpp')
-rw-r--r-- | indra/newview/llsidepaneltaskinfo.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llsidepaneltaskinfo.cpp b/indra/newview/llsidepaneltaskinfo.cpp index 24cb559fd0..13a2a395e9 100644 --- a/indra/newview/llsidepaneltaskinfo.cpp +++ b/indra/newview/llsidepaneltaskinfo.cpp @@ -251,7 +251,11 @@ void LLSidepanelTaskInfo::disableAll() mOpenBtn->setEnabled(FALSE); mPayBtn->setEnabled(FALSE); +#ifndef STINSON_ADULT_CHECK_HACK + mBuyBtn->setEnabled(gSavedSettings.getBOOL("AdultCheckEnablePurchse")); +#else // STINSON_ADULT_CHECK_HACK mBuyBtn->setEnabled(FALSE); +#endif // STINSON_ADULT_CHECK_HACK } void LLSidepanelTaskInfo::refresh() |