diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfloaterbuycurrency.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/linden/indra/newview/llfloaterbuycurrency.cpp b/linden/indra/newview/llfloaterbuycurrency.cpp index 2ce46f7..a7233c3 100644 --- a/linden/indra/newview/llfloaterbuycurrency.cpp +++ b/linden/indra/newview/llfloaterbuycurrency.cpp | |||
@@ -2,6 +2,8 @@ | |||
2 | * @file llfloaterbuycurrency.cpp | 2 | * @file llfloaterbuycurrency.cpp |
3 | * @brief LLFloaterBuyCurrency class implementation | 3 | * @brief LLFloaterBuyCurrency class implementation |
4 | * | 4 | * |
5 | * $LicenseInfo:firstyear=2005&license=viewergpl$ | ||
6 | * | ||
5 | * Copyright (c) 2005-2007, Linden Research, Inc. | 7 | * Copyright (c) 2005-2007, Linden Research, Inc. |
6 | * | 8 | * |
7 | * Second Life Viewer Source Code | 9 | * Second Life Viewer Source Code |
@@ -24,6 +26,7 @@ | |||
24 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO | 26 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO |
25 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | 27 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, |
26 | * COMPLETENESS OR PERFORMANCE. | 28 | * COMPLETENESS OR PERFORMANCE. |
29 | * $/LicenseInfo$ | ||
27 | */ | 30 | */ |
28 | 31 | ||
29 | #include "llviewerprecompiledheaders.h" | 32 | #include "llviewerprecompiledheaders.h" |
@@ -313,7 +316,7 @@ void LLFloaterBuyCurrencyUI::onClickBuy(void* data) | |||
313 | LLFloaterBuyCurrencyUI* self = LLFloaterBuyCurrencyUI::soleInstance(false); | 316 | LLFloaterBuyCurrencyUI* self = LLFloaterBuyCurrencyUI::soleInstance(false); |
314 | if (self) | 317 | if (self) |
315 | { | 318 | { |
316 | self->mManager.buy(); | 319 | self->mManager.buy(self->childGetText("buy_currency")); |
317 | self->updateUI(); | 320 | self->updateUI(); |
318 | // JC: updateUI() doesn't get called again until progress is made | 321 | // JC: updateUI() doesn't get called again until progress is made |
319 | // with transaction processing, so the "Purchase" button would be | 322 | // with transaction processing, so the "Purchase" button would be |
@@ -374,3 +377,4 @@ void LLFloaterBuyCurrency::buyCurrency(const std::string& name, S32 price) | |||
374 | ui->open(); | 377 | ui->open(); |
375 | } | 378 | } |
376 | 379 | ||
380 | |||