SL-14067 FIXED The 'Unable to Buy' (L$) error persists until relogin
parent
f08421e651
commit
3c6237f4eb
|
|
@ -603,6 +603,11 @@ bool LLCurrencyUIManager::bought()
|
|||
return impl.mBought;
|
||||
}
|
||||
|
||||
void LLCurrencyUIManager::clearError()
|
||||
{
|
||||
return impl.clearError();
|
||||
}
|
||||
|
||||
bool LLCurrencyUIManager::hasError()
|
||||
{
|
||||
return impl.mError;
|
||||
|
|
|
|||
|
|
@ -80,6 +80,8 @@ public:
|
|||
bool buying(); // are we in the process of buying?
|
||||
bool bought(); // did the buy() transaction complete successfully
|
||||
|
||||
void clearError();
|
||||
|
||||
bool hasError();
|
||||
std::string errorMessage();
|
||||
std::string errorURI();
|
||||
|
|
|
|||
|
|
@ -184,6 +184,7 @@ void LLFloaterBuyCurrencyUI::updateUI()
|
|||
args["TITLE"] = getString("info_cannot_buy");
|
||||
args["MESSAGE"] = mManager.errorMessage();
|
||||
LLNotificationsUtil::add("CouldNotBuyCurrency", args);
|
||||
mManager.clearError();
|
||||
closeFloater();
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue