From d53f385fae39b30ef31b40379160c26ad97a5af6 Mon Sep 17 00:00:00 2001 From: Alexander Gavriliuk Date: Thu, 2 Jan 2025 13:14:31 +0100 Subject: secondlife/viewer#3322 No confirmation is shown when gifting all your money --- indra/newview/llfloaterpay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview/llfloaterpay.cpp') 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; -- cgit v1.3