diff options
Diffstat (limited to 'linden/indra/newview/llfloatersellland.cpp')
-rw-r--r-- | linden/indra/newview/llfloatersellland.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linden/indra/newview/llfloatersellland.cpp b/linden/indra/newview/llfloatersellland.cpp index 92e070f..bf4a4c3 100644 --- a/linden/indra/newview/llfloatersellland.cpp +++ b/linden/indra/newview/llfloatersellland.cpp | |||
@@ -46,6 +46,8 @@ | |||
46 | #include "lluictrlfactory.h" | 46 | #include "lluictrlfactory.h" |
47 | #include "llviewerwindow.h" | 47 | #include "llviewerwindow.h" |
48 | 48 | ||
49 | #include "hippoGridManager.h" | ||
50 | |||
49 | // defined in llfloaterland.cpp | 51 | // defined in llfloaterland.cpp |
50 | void send_parcel_select_objects(S32 parcel_local_id, S32 return_type, | 52 | void send_parcel_select_objects(S32 parcel_local_id, S32 return_type, |
51 | uuid_list_t* return_ids = NULL); | 53 | uuid_list_t* return_ids = NULL); |
@@ -284,6 +286,8 @@ void LLFloaterSellLandUI::refreshUI() | |||
284 | childSetText("info_parcel", parcelp->getName()); | 286 | childSetText("info_parcel", parcelp->getName()); |
285 | childSetTextArg("info_size", "[AREA]", llformat("%d", mParcelActualArea)); | 287 | childSetTextArg("info_size", "[AREA]", llformat("%d", mParcelActualArea)); |
286 | 288 | ||
289 | childSetTextArg("price_ld", "[CURRENCY]", gHippoGridManager->getConnectedGrid()->getCurrencySymbol()); | ||
290 | |||
287 | std::string price_str = childGetValue("price").asString(); | 291 | std::string price_str = childGetValue("price").asString(); |
288 | bool valid_price = false; | 292 | bool valid_price = false; |
289 | valid_price = (price_str != "") && LLLineEditor::prevalidateNonNegativeS32(utf8str_to_wstring(price_str)); | 293 | valid_price = (price_str != "") && LLLineEditor::prevalidateNonNegativeS32(utf8str_to_wstring(price_str)); |