Let's be real about currency

Fixes grid response for real currency not being heeded in buy currency.
This commit is contained in:
Lirusaito
2019-03-17 14:29:45 -04:00
parent da8692f6a3
commit 1c13ace366
2 changed files with 3 additions and 2 deletions

View File

@@ -387,6 +387,7 @@ void LLCurrencyUIManager::Impl::updateUI()
}
mPanel.childSetTextArg("currency_est", "[USD]", llformat("%#.2f", mSiteCurrencyEstimatedCost / 100.0));
mPanel.childSetTextArg("currency_est", "[REALCURRENCY]", gHippoGridManager->getConnectedGrid()->getRealCurrencySymbol());
mPanel.childSetVisible("currency_est", mSiteCurrencyEstimated && mUserCurrencyBuy > 0);
if (mPanel.childIsEnabled("buy_btn")