diff options
author | Jacek Antonelli | 2008-12-01 17:39:58 -0600 |
---|---|---|
committer | Jacek Antonelli | 2008-12-01 17:40:06 -0600 |
commit | 7abecb48babe6a6f09bf6692ba55076546cfced9 (patch) | |
tree | 8d18a88513fb97adf32c10aae78f4be1984942db /linden/indra/newview/llfloaterbuycurrency.cpp | |
parent | Second Life viewer sources 1.21.6 (diff) | |
download | meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.zip meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.gz meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.bz2 meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.xz |
Second Life viewer sources 1.22.0-RC
Diffstat (limited to 'linden/indra/newview/llfloaterbuycurrency.cpp')
-rw-r--r-- | linden/indra/newview/llfloaterbuycurrency.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/linden/indra/newview/llfloaterbuycurrency.cpp b/linden/indra/newview/llfloaterbuycurrency.cpp index cbd41f4..1cbf314 100644 --- a/linden/indra/newview/llfloaterbuycurrency.cpp +++ b/linden/indra/newview/llfloaterbuycurrency.cpp | |||
@@ -358,11 +358,6 @@ void LLFloaterBuyCurrencyUI::onClickErrorWeb(void* data) | |||
358 | // static | 358 | // static |
359 | void LLFloaterBuyCurrency::buyCurrency() | 359 | void LLFloaterBuyCurrency::buyCurrency() |
360 | { | 360 | { |
361 | if (gHideLinks) | ||
362 | { | ||
363 | return; | ||
364 | } | ||
365 | |||
366 | LLFloaterBuyCurrencyUI* ui = LLFloaterBuyCurrencyUI::soleInstance(true); | 361 | LLFloaterBuyCurrencyUI* ui = LLFloaterBuyCurrencyUI::soleInstance(true); |
367 | ui->noTarget(); | 362 | ui->noTarget(); |
368 | ui->updateUI(); | 363 | ui->updateUI(); |
@@ -371,15 +366,6 @@ void LLFloaterBuyCurrency::buyCurrency() | |||
371 | 366 | ||
372 | void LLFloaterBuyCurrency::buyCurrency(const std::string& name, S32 price) | 367 | void LLFloaterBuyCurrency::buyCurrency(const std::string& name, S32 price) |
373 | { | 368 | { |
374 | if (gHideLinks) | ||
375 | { | ||
376 | LLStringUtil::format_map_t args; | ||
377 | args["[NAME]"] = name; | ||
378 | args["[PRICE]"] = llformat("%d", price); | ||
379 | gViewerWindow->alertXml("NotEnoughCurrency", args); | ||
380 | return; | ||
381 | } | ||
382 | |||
383 | LLFloaterBuyCurrencyUI* ui = LLFloaterBuyCurrencyUI::soleInstance(true); | 369 | LLFloaterBuyCurrencyUI* ui = LLFloaterBuyCurrencyUI::soleInstance(true); |
384 | ui->target(name, price); | 370 | ui->target(name, price); |
385 | ui->updateUI(); | 371 | ui->updateUI(); |