diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2020-12-17 00:07:43 +0200 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2020-12-17 00:07:43 +0200 |
commit | 851723656ebd6e6a1c020df6bf15c132fc29e096 (patch) | |
tree | 0576b85c7ea66793e5f759456402c1721ff23123 /indra | |
parent | e3c2859e5549e1fb4e47cf2477241a5ba8cea595 (diff) |
SL-14392 Fixed blocking UI behavior #2
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llfloaterbuyland.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llfloaterbuyland.cpp b/indra/newview/llfloaterbuyland.cpp index 5768b727f9..464e7ff4a2 100644 --- a/indra/newview/llfloaterbuyland.cpp +++ b/indra/newview/llfloaterbuyland.cpp @@ -996,7 +996,8 @@ void LLFloaterBuyLandUI::draw() // virtual BOOL LLFloaterBuyLandUI::canClose() { - bool can_close = (mTransaction ? FALSE : TRUE) && mTransactionType != TransactionBuy; + // mTransactionType check for pre-buy estimation stage and mCurrency to allow exit after transaction + bool can_close = !mTransaction && (mTransactionType != TransactionBuy || mCurrency.canCancel()); if (!can_close) { // explain to user why they can't do this, see DEV-9605 |