summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2025-01-02 13:14:31 +0100
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-01-05 16:45:45 +0200
commitd53f385fae39b30ef31b40379160c26ad97a5af6 (patch)
tree9d52a0187d0457ddbd3842d27835f2e3432f7ea5
parent7c1bf6b3009c17d8aa67ae58a31c58726ee3c14e (diff)
secondlife/viewer#3322 No confirmation is shown when gifting all your money
-rw-r--r--indra/newview/llfloaterpay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloaterpay.cpp b/indra/newview/llfloaterpay.cpp
index d5e45c09e3..e497fb0914 100644
--- a/indra/newview/llfloaterpay.cpp
+++ b/indra/newview/llfloaterpay.cpp
@@ -502,7 +502,7 @@ void LLFloaterPay::onGive(give_money_ptr info)
amount = atoi(text_field->getValue().asString().c_str());
}
- if (amount > PAY_AMOUNT_NOTIFICATION && gStatusBar && gStatusBar->getBalance() > amount)
+ if (amount > PAY_AMOUNT_NOTIFICATION)
{
LLUUID payee_id = LLUUID::null;
bool is_group = false;