diff options
Diffstat (limited to 'indra/newview/llfloaterbuy.cpp')
-rw-r--r-- | indra/newview/llfloaterbuy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloaterbuy.cpp b/indra/newview/llfloaterbuy.cpp index 9edb0afb5c..5bdb4a2374 100644 --- a/indra/newview/llfloaterbuy.cpp +++ b/indra/newview/llfloaterbuy.cpp @@ -86,7 +86,7 @@ void LLFloaterBuy::show(const LLSaleInfo& sale_info) if (selection->getRootObjectCount() != 1) { - gViewerWindow->alertXml("BuyOneObjectOnly"); + LLNotifications::instance().add("BuyOneObjectOnly"); return; } @@ -136,7 +136,7 @@ void LLFloaterBuy::show(const LLSaleInfo& sale_info) BOOL owners_identical = LLSelectMgr::getInstance()->selectGetOwner(owner_id, owner_name); if (!owners_identical) { - gViewerWindow->alertXml("BuyObjectOneOwner"); + LLNotifications::instance().add("BuyObjectOneOwner"); return; } |