summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterbuyland.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-12-02 00:39:19 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-12-02 00:43:28 +0200
commitf187d258ecd79e216ab0b0c67146acbe046db78f (patch)
treef8524f2fd6292fe9846a69bdfadf3f747fd97be1 /indra/newview/llfloaterbuyland.cpp
parent58835c4b230cd6524a4f4a9f8d95a37359837811 (diff)
SL-14392 Fixed blocking UI behavior when estimating the price of buying land
Diffstat (limited to 'indra/newview/llfloaterbuyland.cpp')
-rw-r--r--indra/newview/llfloaterbuyland.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloaterbuyland.cpp b/indra/newview/llfloaterbuyland.cpp
index 0a0e5ffc06..5768b727f9 100644
--- a/indra/newview/llfloaterbuyland.cpp
+++ b/indra/newview/llfloaterbuyland.cpp
@@ -996,7 +996,7 @@ void LLFloaterBuyLandUI::draw()
// virtual
BOOL LLFloaterBuyLandUI::canClose()
{
- bool can_close = (mTransaction ? FALSE : TRUE) && mCurrency.canCancel();
+ bool can_close = (mTransaction ? FALSE : TRUE) && mTransactionType != TransactionBuy;
if (!can_close)
{
// explain to user why they can't do this, see DEV-9605