diff options
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() |