diff options
author | Merov Linden <merov@lindenlab.com> | 2014-07-26 14:44:04 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2014-07-26 14:44:04 -0700 |
commit | 51e4ad0ed0ba07328ec8415742a3f5c60afc7244 (patch) | |
tree | 75c72f396c43e9f4314f1284ee3de56bef2098f8 /indra/newview/llfloatermarketplacelistings.cpp | |
parent | bd5da258ea4cd5557bc79f29b0034cf666d0f652 (diff) |
DD-101 : Do not list or associate listings that do not validate. Present user with relevant error when that happens.
Diffstat (limited to 'indra/newview/llfloatermarketplacelistings.cpp')
-rwxr-xr-x | indra/newview/llfloatermarketplacelistings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloatermarketplacelistings.cpp b/indra/newview/llfloatermarketplacelistings.cpp index 8778839fea..ec551aca06 100755 --- a/indra/newview/llfloatermarketplacelistings.cpp +++ b/indra/newview/llfloatermarketplacelistings.cpp @@ -593,7 +593,7 @@ void LLFloaterMarketplaceValidation::onOpen(const LLSD& key) if (marketplacelistings_id.notNull()) { LLViewerInventoryCategory* cat = gInventory.getCategory(marketplacelistings_id); - validate_marketplacelistings(cat,boost::bind(&LLFloaterMarketplaceValidation::appendMessage, this, _1)); + validate_marketplacelistings(cat,boost::bind(&LLFloaterMarketplaceValidation::appendMessage, this, _1, _2)); } } @@ -605,7 +605,7 @@ void LLFloaterMarketplaceValidation::onOK( void* userdata ) self->closeFloater(); } -void LLFloaterMarketplaceValidation::appendMessage(std::string& message) +void LLFloaterMarketplaceValidation::appendMessage(std::string& message, LLError::ELevel log_level) { if (mEditor) { |